Summary: | Update the fake Carbon window when the window frame changes | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Other | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Anders Carlsson
2010-10-25 15:42:35 PDT
Created attachment 71807 [details]
Patch
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. Committed r70499: <http://trac.webkit.org/changeset/70499> |