diff options
author | Patrick Scott <phanna@android.com> | 2010-04-14 15:07:36 -0400 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2010-04-14 15:07:36 -0400 |
commit | 6894a27a216350b89133dc06b42279627a25348c (patch) | |
tree | d6aeecc5be6f1cffc8c98de56ead11a9aa4096d2 /WebCore/rendering | |
parent | ac90fdd70d8a2f6051fdc959dac8edf5819f38bd (diff) | |
download | external_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/rendering')
-rw-r--r-- | WebCore/rendering/RenderPartObject.cpp | 4 |
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()); |