Title: [114560] trunk/Source/WebCore
Revision
114560
Author
[email protected]
Date
2012-04-18 14:21:35 -0700 (Wed, 18 Apr 2012)

Log Message

Prevent switch case fallthrough in StylePropertySet::getPropertyValue().
https://bugs.webkit.org/show_bug.cgi?id=84266

Reviewed by Kentaro Hara.

No new tests / code cleanup found by static analysis.

* css/StylePropertySet.cpp:
(WebCore::StylePropertySet::getPropertyValue):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (114559 => 114560)


--- trunk/Source/WebCore/ChangeLog	2012-04-18 21:04:43 UTC (rev 114559)
+++ trunk/Source/WebCore/ChangeLog	2012-04-18 21:21:35 UTC (rev 114560)
@@ -1,3 +1,15 @@
+2012-04-18  Luke Macpherson  <[email protected]>
+
+        Prevent switch case fallthrough in StylePropertySet::getPropertyValue().
+        https://bugs.webkit.org/show_bug.cgi?id=84266
+
+        Reviewed by Kentaro Hara.
+
+        No new tests / code cleanup found by static analysis.
+
+        * css/StylePropertySet.cpp:
+        (WebCore::StylePropertySet::getPropertyValue):
+
 2012-04-18  Andreas Kling  <[email protected]>
 
         CSSValuePool: Make numeric value caches fixed-size arrays.

Modified: trunk/Source/WebCore/css/StylePropertySet.cpp (114559 => 114560)


--- trunk/Source/WebCore/css/StylePropertySet.cpp	2012-04-18 21:04:43 UTC (rev 114559)
+++ trunk/Source/WebCore/css/StylePropertySet.cpp	2012-04-18 21:21:35 UTC (rev 114560)
@@ -169,6 +169,7 @@
         RefPtr<CSSValue> value = getPropertyCSSValue(CSSPropertyMarkerStart);
         if (value)
             return value->cssText();
+        return String();
     }
 #endif
     case CSSPropertyBorderRadius:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to