WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
146450
[WinCairo] Compile error, WebEditorClient::didApplyStyle() should not have any parameters.
https://bugs.webkit.org/show_bug.cgi?id=146450
Summary
[WinCairo] Compile error, WebEditorClient::didApplyStyle() should not have an...
peavo
Reported
2015-06-30 02:18:28 PDT
The abstract method EditClient::didApplyStyle() does not have any parameters, WebEditorClient::didApplyStyle() should have the same signature.
Attachments
Patch
(1.99 KB, patch)
2015-06-30 02:20 PDT
,
peavo
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
peavo
Comment 1
2015-06-30 02:20:58 PDT
Created
attachment 255815
[details]
Patch
Csaba Osztrogonác
Comment 2
2015-06-30 03:13:12 PDT
Comment on
attachment 255815
[details]
Patch LGTM, r=me. Could you add an override keyword before landing to avoid possible bugs in the future here? ( Just note: This code was introduced in
bug146379
-
https://trac.webkit.org/changeset/186086
)
peavo
Comment 3
2015-06-30 03:28:04 PDT
(In reply to
comment #2
)
> Comment on
attachment 255815
[details]
> Patch > > LGTM, r=me. Could you add an override keyword before > landing to avoid possible bugs in the future here? > > ( Just note: This code was introduced in
bug146379
- >
https://trac.webkit.org/changeset/186086
)
Thanks for reviewing :) Yes, I can add the override keyword, but I seem to remember there was an agreement not to add the override keyword when overriding pure virtual methods?
Csaba Osztrogonác
Comment 4
2015-06-30 03:38:18 PDT
Comment on
attachment 255815
[details]
Patch I missed this agreement. But I agree, adding override keyword for overriding pure virtual function isn't necessary. Let's land it as is.
peavo
Comment 5
2015-06-30 03:47:00 PDT
(In reply to
comment #4
)
> Comment on
attachment 255815
[details]
> Patch > > I missed this agreement. But I agree, adding override keyword for > overriding pure virtual function isn't necessary. Let's land it as is.
Ok, thanks!
WebKit Commit Bot
Comment 6
2015-06-30 04:26:59 PDT
Comment on
attachment 255815
[details]
Patch Clearing flags on attachment: 255815 Committed
r186114
: <
http://trac.webkit.org/changeset/186114
>
WebKit Commit Bot
Comment 7
2015-06-30 04:27:05 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 8
2015-06-30 10:13:22 PDT
(In reply to
comment #3
)
> I seem to remember there was an > agreement not to add the override keyword when overriding pure virtual > methods?
This is the first I have heard of this. I think we should definitely use override in cases like that and I’d like to know more about why we wouldn’t.
peavo
Comment 9
2015-06-30 10:39:46 PDT
(In reply to
comment #8
)
> (In reply to
comment #3
) > > I seem to remember there was an > > agreement not to add the override keyword when overriding pure virtual > > methods? > > This is the first I have heard of this. I think we should definitely use > override in cases like that and I’d like to know more about why we wouldn’t.
Ok, sorry for spreading false rumours. I thought I picked this up somewhere, but I am probably wrong.
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