Bug 167452

Summary: [Threaded Compositor] Update also the contents size when creating the threaded compositor
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, zan
Priority: P2 Keywords: Gtk
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch zan: review+

Description Carlos Garcia Campos 2017-01-26 01:09:16 PST
In r210954 we ensured that the threaded compositor and the viewport controller were created with the initial web page size. If we don't update the contents size, the visible rectangle will be empty and tiles won't be created until contentsSizeDidChange is called. It's even possible, when entering AC mode on demand, that we create the layer tree host after the contents size changed, in which case nothing is rendered unless we resize the window.
Comment 1 Carlos Garcia Campos 2017-01-26 01:11:28 PST
Created attachment 299796 [details]
Patch
Comment 2 Carlos Garcia Campos 2017-01-26 01:21:16 PST
Committed r211205: <http://trac.webkit.org/changeset/211205>