Summary: | Stop exporting interface WebCoreScrollView on iOS | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Aakash Jain <aakash_jain> | ||||||||||||
Component: | WebKit Misc. | Assignee: | Aakash Jain <aakash_jain> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | aakash_jain, ap, commit-queue, juergen, mitz | ||||||||||||
Priority: | P2 | ||||||||||||||
Version: | Other | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Attachments: |
|
Description
Aakash Jain
2017-02-17 15:21:24 PST
Created attachment 301999 [details]
Proposed patch
Created attachment 302002 [details]
Proposed patch
Comment on attachment 302002 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=302002&action=review > Source/WebKit/mac/WebView/WebHTMLView.mm:-787 > -// <rdar://problem/4985524> References to WebCoreScrollView as a subview of a WebHTMLView may be present > -// in some NIB files, so NSUnarchiver must be still able to look up this now-unused class. > -@interface WebCoreScrollView : NSScrollView > -@end > - > -@implementation WebCoreScrollView > -@end So we think that those references are only in nib files in apps that no longer need to be supported? Let's remove it on iOS only, and keep on Mac. Definitely no risk on iOS. Created attachment 302183 [details]
Updated patch
Export the symbol for WebCoreScrollView only for mac.
Comment on attachment 302183 [details]
Updated patch
Can we also move the class definition into the #if !PLATFORM(IOS) section?
Created attachment 302187 [details]
Updated patch
Moved the class definition into the #if !PLATFORM(IOS) section.
Comment on attachment 302187 [details] Updated patch View in context: https://bugs.webkit.org/attachment.cgi?id=302187&action=review > Source/WebKit/mac/WebView/WebHTMLView.mm:781 > +#if PLATFORM(IOS) I think this was meant to be part of the #if !PLATFORM(IOS) section below. This is the opposite! Created attachment 302208 [details]
Updated patch
You are right. If condition got reverted somehow. Fixed it now.
Comment on attachment 302208 [details] Updated patch Clearing flags on attachment: 302208 Committed r212697: <http://trac.webkit.org/changeset/212697> All reviewed patches have been landed. Closing bug. |