Bug 48273 - Update the fake Carbon window when the window frame changes
Summary: Update the fake Carbon window when the window frame changes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-25 15:42 PDT by Anders Carlsson
Modified: 2010-10-25 16:01 PDT (History)
0 users

See Also:


Attachments
Patch (4.43 KB, patch)
2010-10-25 15:46 PDT, Anders Carlsson
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>