summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2010-04-14 15:07:36 -0400
committerPatrick Scott <phanna@android.com>2010-04-14 15:07:36 -0400
commit6894a27a216350b89133dc06b42279627a25348c (patch)
treed6aeecc5be6f1cffc8c98de56ead11a9aa4096d2 /WebCore
parentac90fdd70d8a2f6051fdc959dac8edf5819f38bd (diff)
downloadexternal_webkit-6894a27a216350b89133dc06b42279627a25348c.zip
external_webkit-6894a27a216350b89133dc06b42279627a25348c.tar.gz
external_webkit-6894a27a216350b89133dc06b42279627a25348c.tar.bz2
Make sure to layout the view with the final dimensions.
Bug: 2532684 Change-Id: I6500fc08760f8dbc99d1d279e6beca7bdb3345c9
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/rendering/RenderPartObject.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/rendering/RenderPartObject.cpp b/WebCore/rendering/RenderPartObject.cpp
index 09573c8..617c8bf 100644
--- a/WebCore/rendering/RenderPartObject.cpp
+++ b/WebCore/rendering/RenderPartObject.cpp
@@ -113,6 +113,10 @@ void RenderPartObject::layout()
// Update one last time
updateWidgetPosition();
+ // Layout one more time to ensure all objects have the correct
+ // height.
+ view->layout();
+
#if !ASSERT_DISABLED
ASSERT(!view->layoutPending());
ASSERT(!root->needsLayout());