[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

apavlov at chromium.org apavlov at chromium.org
Wed Dec 22 15:58:53 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 32c2059183b8c74f3bfad06f89db96c4b1e04b37
Author: apavlov at chromium.org <apavlov at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Nov 17 14:49:29 2010 +0000

    2010-11-17  Alexander Pavlov  <apavlov at chromium.org>
    
            [Chromium] Unreviewed, fix Chromium-Mac build from r72189.
    
            * css/CSSPrimitiveValue.cpp:
            (WebCore::CSSPrimitiveValue::getDoubleValue):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72205 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 1e0c140..e1a4f94 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,10 @@
+2010-11-17  Alexander Pavlov  <apavlov at chromium.org>
+
+        [Chromium] Unreviewed, fix Chromium-Mac build from r72189.
+
+        * css/CSSPrimitiveValue.cpp:
+        (WebCore::CSSPrimitiveValue::getDoubleValue):
+
 2010-11-17  Hans Wennborg  <hans at chromium.org>
 
         Reviewed by Jeremy Orlow.
diff --git a/WebCore/css/CSSPrimitiveValue.cpp b/WebCore/css/CSSPrimitiveValue.cpp
index 4fc062c..ce1b87b 100644
--- a/WebCore/css/CSSPrimitiveValue.cpp
+++ b/WebCore/css/CSSPrimitiveValue.cpp
@@ -496,7 +496,7 @@ static double conversionToCanonicalUnitsScaleFactor(unsigned short unitType)
 
 double CSSPrimitiveValue::getDoubleValue(unsigned short unitType, ExceptionCode& ec) const
 {
-    double result;
+    double result = 0;
     bool success = getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result);
     if (!success) {
         ec = INVALID_ACCESS_ERR;
@@ -509,7 +509,7 @@ double CSSPrimitiveValue::getDoubleValue(unsigned short unitType, ExceptionCode&
 
 double CSSPrimitiveValue::getDoubleValue(unsigned short unitType) const
 {
-    double result;
+    double result = 0;
     getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result);
     return result;
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list