[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198
commit-queue at webkit.org
commit-queue at webkit.org
Sun Feb 20 23:00:34 UTC 2011
The following commit has been merged in the webkit-1.3 branch:
commit 912c3d7db76caa9a76e406cf5eb197dc8b7dbfe0
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sat Jan 15 01:19:57 2011 +0000
2011-01-14 Ahmad Sharif <asharif.tools at gmail.com>
Reviewed by Darin Fisher.
When inlining is performed, the progress variable is
declared as uninitialized.
https://bugs.webkit.org/show_bug.cgi?id=51084
* WebCore: Copied from WebCore.
* WebCore/page/animation/KeyframeAnimation.cpp:
(WebCore::KeyframeAnimation::animate):
(WebCore::KeyframeAnimation::getAnimatedStyle):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/ChangeLog b/ChangeLog
index 8ed79c1..d8e459c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2011-01-14 Ahmad Sharif <asharif.tools at gmail.com>
+
+ Reviewed by Darin Fisher.
+
+ When inlining is performed, the progress variable is
+ declared as uninitialized.
+ https://bugs.webkit.org/show_bug.cgi?id=51084
+
+ * WebCore: Copied from WebCore.
+ * WebCore/page/animation/KeyframeAnimation.cpp:
+ (WebCore::KeyframeAnimation::animate):
+ (WebCore::KeyframeAnimation::getAnimatedStyle):
+
2011-01-11 Laszlo Gombos <laszlo.1.gombos at nokia.com>
Reviewed by Csaba Osztrogonác.
diff --git a/Source/WebCore/page/animation/KeyframeAnimation.cpp b/Source/WebCore/page/animation/KeyframeAnimation.cpp
index a499188..5f19fe4 100644
--- a/Source/WebCore/page/animation/KeyframeAnimation.cpp
+++ b/Source/WebCore/page/animation/KeyframeAnimation.cpp
@@ -189,7 +189,7 @@ void KeyframeAnimation::animate(CompositeAnimation*, RenderObject*, const Render
// Get the from/to styles and progress between
const RenderStyle* fromStyle = 0;
const RenderStyle* toStyle = 0;
- double progress;
+ double progress = 0.0;
fetchIntervalEndpointsForProperty(property, fromStyle, toStyle, progress);
bool needsAnim = blendProperties(this, property, animatedStyle.get(), fromStyle, toStyle, progress);
@@ -226,7 +226,7 @@ void KeyframeAnimation::getAnimatedStyle(RefPtr<RenderStyle>& animatedStyle)
// Get the from/to styles and progress between
const RenderStyle* fromStyle = 0;
const RenderStyle* toStyle = 0;
- double progress;
+ double progress = 0.0;
fetchIntervalEndpointsForProperty(property, fromStyle, toStyle, progress);
blendProperties(this, property, animatedStyle.get(), fromStyle, toStyle, progress);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list