Bug 160846

Summary: [Cocoa] Remove deprecated _WKVisitedLinkProvider declarations that aren’t needed
Product: WebKit Reporter: mitz
Component: WebKit APIAssignee: mitz
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, darin, sam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Remove declarations darin: review+

mitz
Reported 2016-08-14 14:02:19 PDT
Patch forthcoming.
Attachments
Remove declarations (10.39 KB, patch)
2016-08-14 14:05 PDT, mitz
darin: review+
mitz
Comment 1 2016-08-14 14:05:03 PDT
Created attachment 286031 [details] Remove declarations
WebKit Commit Bot
Comment 2 2016-08-14 14:07:15 PDT
Attachment 286031 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:759: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Darin Adler
Comment 3 2016-08-14 14:39:16 PDT
Comment on attachment 286031 [details] Remove declarations View in context: https://bugs.webkit.org/attachment.cgi?id=286031&action=review > Source/WebKit2/ChangeLog:10 > + cateogry implementation, changed type to _WKVisitedLinkStore. Typo here in the word category. > Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:38 > +#import "_WKVisitedLinkStore.h" Do we need to include this header to compile the code below? I am surprised if we do, but maybe I am missing something. > Source/WebKit2/UIProcess/API/Cocoa/_WKVisitedLinkProvider.mm:34 > +// Defined for binary compatibility with Safari in iOS 10. Seems like this comment should go before even the @interface.
mitz
Comment 4 2016-08-14 14:41:52 PDT
Comment on attachment 286031 [details] Remove declarations View in context: https://bugs.webkit.org/attachment.cgi?id=286031&action=review >> Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:38 >> +#import "_WKVisitedLinkStore.h" > > Do we need to include this header to compile the code below? I am surprised if we do, but maybe I am missing something. We need the declaration of _WKVisitedLinkStore to compile some of the code in this file which allocates an instance of that class.
mitz
Comment 5 2016-08-14 14:47:30 PDT
Note You need to log in before you can comment on or make changes to this bug.