Bug 117163

Summary: [WK2] REGRESSION(r150798): scrolling coordinator is not being enabled when WebPage is set to use fixed layout
Product: WebKit Reporter: Marcelo Lira <marcelo.lira>
Component: WebKit2Assignee: Marcelo Lira <marcelo.lira>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, commit-queue, darin, kling, luiz, noam, zeno
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Marcelo Lira 2013-06-03 12:56:09 PDT
Since WebPageProxy can be created and methods called when no underlying WebPage exists yet, a call to WebPageProxy::setUseFixedLayout(...) will only be delivered to WebProcess by the IPC mechanism after the WebPage is created. But it is WebPage constructor that creates a DrawingArea, that calls enterAcceleratedCompositingMode(), that creates a CoordinatedLayerTreeHost, that calls WebKit::WebPage::settings()->setScrollingCoordinatorEnabled(true), if fixed layout is true.
The call to WebPage::setUseFixedLayout() comes too late, and the scrolling coordinated is never enabled.
Comment 1 Marcelo Lira 2013-06-03 13:15:43 PDT
Created attachment 203622 [details]
Patch
Comment 2 Noam Rosenthal 2013-06-03 14:28:29 PDT
Comment on attachment 203622 [details]
Patch

LGTM, please ask for owner review
Comment 3 WebKit Commit Bot 2013-06-03 15:06:38 PDT
Comment on attachment 203622 [details]
Patch

Clearing flags on attachment: 203622

Committed r151132: <http://trac.webkit.org/changeset/151132>
Comment 4 WebKit Commit Bot 2013-06-03 15:06:41 PDT
All reviewed patches have been landed.  Closing bug.