Bug 48273

Summary: Update the fake Carbon window when the window frame changes
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch mitz: review+

Description Anders Carlsson 2010-10-25 15:42:35 PDT
Update the fake Carbon window when the window frame changes
Comment 1 Anders Carlsson 2010-10-25 15:46:08 PDT
Created attachment 71807 [details]
Patch
Comment 2 mitz 2010-10-25 15:52:52 PDT
Comment on attachment 71807 [details]
Patch

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

> WebKit2/UIProcess/API/mac/WKView.mm:415
> +    NSScreen *screen = [window screen]; // nil if the window is off-screen
> +    if (screen)
> +        return screen;

You can move the definition of 'screen' into the if statement.
Comment 3 Anders Carlsson 2010-10-25 16:01:03 PDT
Committed r70499: <http://trac.webkit.org/changeset/70499>