Title: [143549] trunk/Source/WebCore
Revision
143549
Author
o...@chromium.org
Date
2013-02-20 18:24:46 -0800 (Wed, 20 Feb 2013)

Log Message

Speculative fix for EFL and Windows compilers not realizing
that all possible cases have a return value from this switch.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeReplacedLogicalWidthUsing):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (143548 => 143549)


--- trunk/Source/WebCore/ChangeLog	2013-02-21 02:20:08 UTC (rev 143548)
+++ trunk/Source/WebCore/ChangeLog	2013-02-21 02:24:46 UTC (rev 143549)
@@ -1,3 +1,11 @@
+2013-02-20  Ojan Vafai  <o...@chromium.org>
+
+        Speculative fix for EFL and Windows compilers not realizing
+        that all possible cases have a return value from this switch.
+
+        * rendering/RenderBox.cpp:
+        (WebCore::RenderBox::computeReplacedLogicalWidthUsing):
+
 2013-02-20  David Hyatt  <hy...@apple.com>
 
         [New Multicolumn] Fix overflow computation for column blocks.

Modified: trunk/Source/WebCore/rendering/RenderBox.cpp (143548 => 143549)


--- trunk/Source/WebCore/rendering/RenderBox.cpp	2013-02-21 02:20:08 UTC (rev 143548)
+++ trunk/Source/WebCore/rendering/RenderBox.cpp	2013-02-21 02:24:46 UTC (rev 143549)
@@ -2622,7 +2622,10 @@
         case Relative:
         case Undefined:
             return intrinsicLogicalWidth();
-     }
+    }
+
+    ASSERT_NOT_REACHED();
+    return 0;
 }
 
 LayoutUnit RenderBox::computeReplacedLogicalHeight() const
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to