Bug 91022

Summary: WebFullScreenController and WKFullScreenWindowController shouldn't add unprefixed methods to AppKit classes
Product: WebKit Reporter: Mark Rowe (bdash) <mrowe>
Component: WebKit Misc.Assignee: Mark Rowe (bdash) <mrowe>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch v1 mitz: review+

Description Mark Rowe (bdash) 2012-07-11 15:02:31 PDT
WebFullScreenController and WKFullScreenWindowController both add a method named convertRectToScreen: on to NSWindow via a category when building for 10.6 and earlier. This causes problems when building for 10.6 against a newer SDK as NSWindow already has a method of that name. It's also unhygienic as it could interfere with a client application that provides methods of the same name.
Comment 1 Mark Rowe (bdash) 2012-07-11 15:08:07 PDT
Created attachment 151794 [details]
Patch v1
Comment 2 Mark Rowe (bdash) 2012-07-11 19:08:32 PDT
Landed in r122403.