$ ./Tools/Scripts/check-webkit-style --filter=-,+runtime/soft-linked-alloc Tools/TestWebKitAPI ERROR: Tools/TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm:69: Using +alloc with a soft-linked class. Use allocUIWindowInstance() instead. [runtime/soft-linked-alloc] [4] ERROR: Tools/TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm:70: Using +alloc with a soft-linked class. Use allocUIWebViewInstance() instead. [runtime/soft-linked-alloc] [4] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:76: Using +alloc with a soft-linked class. Use allocUIWindowInstance() instead. [runtime/soft-linked-alloc] [4] Total errors found: 3 in 755 files
Created attachment 308717 [details] Patch v1
Comment on attachment 308717 [details] Patch v1 Patch doesn't build on iOS.
Created attachment 308760 [details] Patch v2
(In reply to David Kilzer (:ddkilzer) from comment #2) > Comment on attachment 308717 [details] > Patch v1 > > Patch doesn't build on iOS. Because I'm dumb and didn't replace …Class() with …Instance()! Too early in the morning.
Comment on attachment 308760 [details] Patch v2 Why not just use UIWindow and UIWebView directly? TestWebKitAPI links against UIKit.
(In reply to mitz from comment #5) > Comment on attachment 308760 [details] > Patch v2 > > Why not just use UIWindow and UIWebView directly? TestWebKitAPI links > against UIKit. Forest vs. trees.
Created attachment 308767 [details] Patch v3
Comment on attachment 308767 [details] Patch v3 Clearing flags on attachment: 308767 Committed r216041: <http://trac.webkit.org/changeset/216041>
All reviewed patches have been landed. Closing bug.