Unreviewed build fix after r174480. Broke iOS build.
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Oct 2014 01:51:25 +0000 (01:51 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Oct 2014 01:51:25 +0000 (01:51 +0000)
* rendering/RenderObject.cpp:
(WebCore::includeNonFixedHeight):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174493 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderObject.cpp

index 4abbbd9..548b9d8 100644 (file)
@@ -1,3 +1,10 @@
+2014-10-08  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Unreviewed build fix after r174480. Broke iOS build.
+
+        * rendering/RenderObject.cpp:
+        (WebCore::includeNonFixedHeight):
+
 2014-10-08  Myles C. Maxfield  <litherum@gmail.com>
 
         Inline ruby does not get justified correctly
index d953ce5..fa7226c 100644 (file)
@@ -407,7 +407,7 @@ static RenderObject::BlockContentHeightType includeNonFixedHeight(const RenderOb
             // For fixed height styles, if the overflow size of the element spills out of the specified
             // height, assume we can apply text auto-sizing.
             if (style.overflowY() == OVISIBLE
-                && style.height().value() < downcast<RenderBlock>(renderer).layoutOverflowRect().maxY())
+                && style.height().value() < downcast<RenderBlock>(renderer)->layoutOverflowRect().maxY())
                 return RenderObject::OverflowHeight;
         }
         return RenderObject::FixedHeight;