RESOLVED FIXED 66134
Do not cache m_resizesToContentsLayoutSize on WebKit2's WebPage
https://bugs.webkit.org/show_bug.cgi?id=66134
Summary Do not cache m_resizesToContentsLayoutSize on WebKit2's WebPage
Alexander Færøy
Reported 2011-08-12 05:03:20 PDT
Do not cache m_resizesToContentsLayoutSize on WebKit2's WebPage, as used by the Qt port. Instead use FrameView's corresponding functions. Caching fixed layout size information on both WebCore::FrameView and WebKit::WebPage can lead to syncing problems on WebKit2. resizesToContents is currently only being used in the Qt port.
Attachments
Patch (10.50 KB, patch)
2011-08-12 05:28 PDT, Alexander Færøy
morrita: review-
gyuyoung.kim: commit-queue-
Patch (7.35 KB, patch)
2011-10-14 05:36 PDT, Kenneth Rohde Christiansen
no flags
Alexander Færøy
Comment 1 2011-08-12 05:28:35 PDT
Gyuyoung Kim
Comment 2 2011-08-12 05:38:37 PDT
Collabora GTK+ EWS bot
Comment 3 2011-08-12 05:38:41 PDT
Hajime Morrita
Comment 4 2011-08-15 21:03:07 PDT
Comment on attachment 103763 [details] Patch Please fix the build error anyway.
Kenneth Rohde Christiansen
Comment 5 2011-08-17 14:44:23 PDT
Comment on attachment 103763 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=103763&action=review > Source/WebCore/page/Frame.cpp:911 > - frameView->setUseFixedLayout(useFixedLayout); > + frameView->setUseFixedLayout(!fixedLayoutSize.isEmpty()); So how do you turn it on the first time? I mean the view is created before we get the layout size (viewport meta tag) > Source/WebKit2/ChangeLog:1 > +2011-08-12 Alexander Færøy <alexander.faeroy@nokia.com> Something is up with your name! > Source/WebKit2/WebProcess/WebPage/WebPage.cpp:668 > + // FIXME: ??? frame->view()->forceLayout(); What do you mean with that? You set needslayout below
Kenneth Rohde Christiansen
Comment 6 2011-10-14 05:36:57 PDT
Simon Hausmann
Comment 7 2011-10-14 06:00:36 PDT
Comment on attachment 111000 [details] Patch r=me
WebKit Review Bot
Comment 8 2011-10-14 07:08:51 PDT
Comment on attachment 111000 [details] Patch Clearing flags on attachment: 111000 Committed r97462: <http://trac.webkit.org/changeset/97462>
WebKit Review Bot
Comment 9 2011-10-14 07:08:56 PDT
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 10 2011-10-14 07:25:27 PDT
You guys broke the SL build: /Volumes/Data/WebKit-BuildSlave/snowleopard-intel-release/build/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: In member function 'virtual void WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage()': /Volumes/Data/WebKit-BuildSlave/snowleopard-intel-release/build/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1116: warning: unused variable 'view' Reopen to fix it.
Csaba Osztrogonác
Comment 11 2011-10-14 08:34:38 PDT
Note You need to log in before you can comment on or make changes to this bug.