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

zimmermann at webkit.org zimmermann at webkit.org
Wed Dec 22 11:46:25 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit cad533edd7759a3fdc9a4d18955ed0fbeb4965fa
Author: zimmermann at webkit.org <zimmermann at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Aug 6 11:30:49 2010 +0000

    2010-08-06  Nikolas Zimmermann  <nzimmermann at rim.com>
    
            Not reviewed. Fix warning, breaking win build.
    
            * svg/SVGLength.cpp:
            (WebCore::SVGLength::toCSSPrimitiveValue):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64832 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index a89306a..f6f6b64 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,10 @@
+2010-08-06  Nikolas Zimmermann  <nzimmermann at rim.com>
+
+        Not reviewed. Fix warning, breaking win build.
+
+        * svg/SVGLength.cpp:
+        (WebCore::SVGLength::toCSSPrimitiveValue):
+
 2010-08-06  Alexey Proskuryakov  <ap at apple.com>
 
         Fix crashing Leopard and Gtk bots.
diff --git a/WebCore/svg/SVGLength.cpp b/WebCore/svg/SVGLength.cpp
index d3e16c8..162b25f 100644
--- a/WebCore/svg/SVGLength.cpp
+++ b/WebCore/svg/SVGLength.cpp
@@ -388,10 +388,9 @@ SVGLength SVGLength::fromCSSPrimitiveValue(CSSPrimitiveValue* value)
 
 PassRefPtr<CSSPrimitiveValue> SVGLength::toCSSPrimitiveValue(const SVGLength& length)
 {
-    CSSPrimitiveValue::UnitTypes cssType;
+    CSSPrimitiveValue::UnitTypes cssType = CSSPrimitiveValue::CSS_UNKNOWN;
     switch (length.unitType()) {
     case LengthTypeUnknown:
-        cssType = CSSPrimitiveValue::CSS_UNKNOWN;
         break;
     case LengthTypeNumber:
         cssType = CSSPrimitiveValue::CSS_NUMBER;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list