Bug 60227

Summary: Add bundle API for making a page paint as the background of another page
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

Description Anders Carlsson 2011-05-04 16:25:59 PDT
Add bundle API for making a page paint as the background of another page
Comment 1 Anders Carlsson 2011-05-04 16:29:07 PDT
Created attachment 92343 [details]
Patch
Comment 2 Darin Adler 2011-05-04 16:35:12 PDT
Comment on attachment 92343 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=92343&action=review

> Source/WebKit2/WebProcess/WebPage/WebPage.cpp:587
> +    if (m_underlayPage && m_underlayPage->mainFrame()->coreFrame()->view())
> +        m_underlayPage->mainFrame()->coreFrame()->view()->updateLayoutAndStyleIfNeededRecursive();

That’s a long common subexpression. Maybe use a local variable?
Comment 3 Anders Carlsson 2011-05-04 16:42:06 PDT
Committed r85806: <http://trac.webkit.org/changeset/85806>