RESOLVED FIXED 107255
Add explicit keyword to constructors in platform-specific InspectorClient
https://bugs.webkit.org/show_bug.cgi?id=107255
Summary Add explicit keyword to constructors in platform-specific InspectorClient
Seokju Kwon
Reported 2013-01-18 03:46:35 PST
Add explicit keyword to constructors that take exactly one argument in platform-specific implementation of InspectorClient.
Attachments
Patch (10.26 KB, patch)
2013-01-18 04:09 PST, Seokju Kwon
no flags
Patch (14.38 KB, patch)
2013-01-18 07:17 PST, Seokju Kwon
no flags
Seokju Kwon
Comment 1 2013-01-18 04:09:15 PST
WebKit Review Bot
Comment 2 2013-01-18 04:11:04 PST
Attachment 183424 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/blackberry/ChangeLog', u'Sou..." exit_code: 1 Source/WebKit/wince/WebCoreSupport/InspectorClientWinCE.h:37: The parameter name "webView" adds no information, so it should be removed. [readability/parameter_name] [5] Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.h:51: The parameter name "webView" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 2 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Kentaro Hara
Comment 3 2013-01-18 04:31:14 PST
Comment on attachment 183424 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=183424&action=review LGMT with nits. >> Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.h:51 >> + explicit InspectorClient(WebKitWebView* webView); > > The parameter name "webView" adds no information, so it should be removed. [readability/parameter_name] [5] Nit: Remove it. > Source/WebKit/mac/WebCoreSupport/WebInspectorClient.h:62 > + explicit WebInspectorClient(WebView *); Nit: WebView * => WebView* >> Source/WebKit/wince/WebCoreSupport/InspectorClientWinCE.h:37 >> + explicit InspectorClientWinCE(WebView* webView); > > The parameter name "webView" adds no information, so it should be removed. [readability/parameter_name] [5] Nit: Remove it.
Seokju Kwon
Comment 4 2013-01-18 07:17:30 PST
Seokju Kwon
Comment 5 2013-01-18 07:21:58 PST
Comment on attachment 183446 [details] Patch Fix some coding style issues Source/WebKit/wince/WebCoreSupport/InspectorClientWinCE.h:37: The parameter name "webView" adds no information, so it should be removed. [readability/parameter_name] [5] Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.h:35: Alphabetical sorting problem. [build/include_order] [4] Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.h:42: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.h:51: The parameter name "webView" adds no information, so it should be removed. [readability/parameter_name] [5] Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.h:79: The parameter name "webInspector" adds no information, so it should be removed. [readability/parameter_name] [5] Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.h:79: The parameter name "inspectorClient" adds no information, so it should be removed. [readability/parameter_name] [5] Source/WebKit/gtk/WebCoreSupport/InspectorClientGtk.h:96: The parameter name "height" adds no information, so it should be removed. [readability/parameter_name] [5]
WebKit Review Bot
Comment 6 2013-01-18 07:44:50 PST
Comment on attachment 183446 [details] Patch Clearing flags on attachment: 183446 Committed r140148: <http://trac.webkit.org/changeset/140148>
WebKit Review Bot
Comment 7 2013-01-18 07:44:55 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.