WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
168368
Remove WebIOSEvent interface
https://bugs.webkit.org/show_bug.cgi?id=168368
Summary
Remove WebIOSEvent interface
Aakash Jain
Reported
2017-02-15 07:31:37 PST
WebIOSEvent interface in WebCore/platform/ios/WebEvent.h is just a wrapper on top of WebEvent. This interface doesn't declare anything new and doesn't even have an implementation. We should use WebEvent directly.
Attachments
Proposed patch
(10.04 KB, patch)
2017-02-15 07:45 PST
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2017-02-15 07:45:15 PST
Created
attachment 301618
[details]
Proposed patch
WebKit Commit Bot
Comment 2
2017-02-15 07:46:26 PST
Attachment 301618
[details]
did not pass style-queue: ERROR: Source/WebKit2/Shared/ios/WebIOSEventFactory.h:36: The parameter name "event" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alex Christensen
Comment 3
2017-02-15 09:10:53 PST
Comment on
attachment 301618
[details]
Proposed patch What's with all the ::? I thought ObjC classes don't have namespaces. Is there something else named WebEvent?
Alexey Proskuryakov
Comment 4
2017-02-15 09:33:52 PST
The immediate problem with WebIOSEvent is that it has no implementation, and thus breaks InstallAPI. That could be addressed by adding an implementation. But both Aakash and I think that subclassing shouldn't be used just to disambiguate names. Thoughts?
Alexey Proskuryakov
Comment 5
2017-02-15 09:36:43 PST
And yes, this is to disambiguate with WebEvent class in WebKit2. The modified files are all Objective-C++.
WebKit Commit Bot
Comment 6
2017-02-15 10:14:59 PST
Comment on
attachment 301618
[details]
Proposed patch Clearing flags on attachment: 301618 Committed
r212376
: <
http://trac.webkit.org/changeset/212376
>
WebKit Commit Bot
Comment 7
2017-02-15 10:15:05 PST
All reviewed patches have been landed. Closing bug.
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