WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
160846
[Cocoa] Remove deprecated _WKVisitedLinkProvider declarations that aren’t needed
https://bugs.webkit.org/show_bug.cgi?id=160846
Summary
[Cocoa] Remove deprecated _WKVisitedLinkProvider declarations that aren’t needed
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
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
Committed <
https://trac.webkit.org/r204454
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug