RESOLVED FIXED 125231
[EFL][GTK][WK2] Remove unnecessary reinterpret_casts when setting API clients
https://bugs.webkit.org/show_bug.cgi?id=125231
Summary [EFL][GTK][WK2] Remove unnecessary reinterpret_casts when setting API clients
Nick Diego Yamane (diegoyam)
Reported 2013-12-04 10:54:49 PST
Bug 125182 changed modified GTK and EFL API Clients to follow the new API::Client implementation. It introduced some unnecessary reinterpret_casts when setting those clients. This bug is for removing them.
Attachments
Patch (12.80 KB, patch)
2013-12-04 11:38 PST, Nick Diego Yamane (diegoyam)
no flags
Rebased patch (14.07 KB, patch)
2013-12-04 11:47 PST, Nick Diego Yamane (diegoyam)
no flags
Patch (12.05 KB, patch)
2013-12-04 14:21 PST, Nick Diego Yamane (diegoyam)
no flags
Nick Diego Yamane (diegoyam)
Comment 1 2013-12-04 11:38:03 PST
Nick Diego Yamane (diegoyam)
Comment 2 2013-12-04 11:47:37 PST
Created attachment 218426 [details] Rebased patch
WebKit Commit Bot
Comment 3 2013-12-04 11:49:24 PST
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Martin Robinson
Comment 4 2013-12-04 11:50:40 PST
Comment on attachment 218426 [details] Rebased patch View in context: https://bugs.webkit.org/attachment.cgi?id=218426&action=review Looks good apart from the ChangeLog weirdness. > Source/WebKit2/ChangeLog:72 > + * UIProcess/API/gtk/WebKitFullscreenClient.cpp: > + (attachFullScreenClientToView): > + * UIProcess/API/gtk/WebKitRequestManagerClient.cpp: > + (attachRequestManagerClientToContext): > + * UIProcess/API/gtk/WebKitTextChecker.cpp: > + (WebKitTextChecker::WebKitTextChecker): > + * UIProcess/API/gtk/WebKitWebInspector.cpp: > + (webkitWebInspectorCreate): > + * UIProcess/efl/BatteryProvider.cpp: > + (BatteryProvider::BatteryProvider): > + * UIProcess/efl/NetworkInfoProvider.cpp: > + (NetworkInfoProvider::NetworkInfoProvider): > + * UIProcess/efl/RequestManagerClientEfl.cpp: > + (WebKit::RequestManagerClientEfl::RequestManagerClientEfl): > + * UIProcess/efl/TextCheckerClientEfl.cpp: > + (TextCheckerClientEfl::TextCheckerClientEfl): > + * UIProcess/efl/VibrationClientEfl.cpp: > + (VibrationClientEfl::VibrationClientEfl): > + * UIProcess/efl/ViewClientEfl.cpp: It seems wrong to update an old ChangeLog entry.
Nick Diego Yamane (diegoyam)
Comment 5 2013-12-04 12:08:28 PST
(In reply to comment #4) > (From update of attachment 218426 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=218426&action=review > > Looks good apart from the ChangeLog weirdness. > > > Source/WebKit2/ChangeLog:72 > > + * UIProcess/API/gtk/WebKitFullscreenClient.cpp: > > + (attachFullScreenClientToView): > > + * UIProcess/API/gtk/WebKitRequestManagerClient.cpp: > > + (attachRequestManagerClientToContext): > > + * UIProcess/API/gtk/WebKitTextChecker.cpp: > > + (WebKitTextChecker::WebKitTextChecker): > > + * UIProcess/API/gtk/WebKitWebInspector.cpp: > > + (webkitWebInspectorCreate): > > + * UIProcess/efl/BatteryProvider.cpp: > > + (BatteryProvider::BatteryProvider): > > + * UIProcess/efl/NetworkInfoProvider.cpp: > > + (NetworkInfoProvider::NetworkInfoProvider): > > + * UIProcess/efl/RequestManagerClientEfl.cpp: > > + (WebKit::RequestManagerClientEfl::RequestManagerClientEfl): > > + * UIProcess/efl/TextCheckerClientEfl.cpp: > > + (TextCheckerClientEfl::TextCheckerClientEfl): > > + * UIProcess/efl/VibrationClientEfl.cpp: > > + (VibrationClientEfl::VibrationClientEfl): > > + * UIProcess/efl/ViewClientEfl.cpp: > > It seems wrong to update an old ChangeLog entry. Oops, maybe the git rebase has done this :( I'll fix that. But it looks like there are other build issues, probably result from r160104. I'll try to fix that firstly.
Nick Diego Yamane (diegoyam)
Comment 6 2013-12-04 14:21:23 PST
WebKit Commit Bot
Comment 7 2013-12-04 14:39:59 PST
Comment on attachment 218447 [details] Patch Clearing flags on attachment: 218447 Committed r160128: <http://trac.webkit.org/changeset/160128>
WebKit Commit Bot
Comment 8 2013-12-04 14:40:02 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.