Don't rely on the fact that StaticPosition happens to be defined as 0
[WebKit-https.git] / Source / WebCore / ChangeLog
index fe30d1a..59a7914 100644 (file)
@@ -1,3 +1,17 @@
+2013-03-11  Morten Stenshorne  <mstensho@opera.com>
+
+        Don't rely on the fact that StaticPosition happens to be defined as 0
+        https://bugs.webkit.org/show_bug.cgi?id=110123
+
+        Also made the expression slightly less convoluted.
+
+        Reviewed by Alexey Proskuryakov.
+
+        No new tests. This is just code cleanup.
+
+        * rendering/RenderObject.cpp:
+        (WebCore::RenderObject::containingBlock):
+
 2013-03-11  Adam Barth  <abarth@webkit.org>
 
         Unreviewed attempt to fix build after http://trac.webkit.org/changeset/145421.