RESOLVED FIXED 145165
nullptr cleanup in WebCore/xml.
https://bugs.webkit.org/show_bug.cgi?id=145165
Summary nullptr cleanup in WebCore/xml.
Hunseop Jeong
Reported 2015-05-19 02:00:54 PDT
Replaced 0 with nullptr in WebCore/xml.
Attachments
Patch (18.94 KB, patch)
2015-05-19 02:15 PDT, Hunseop Jeong
no flags
Patch (18.09 KB, patch)
2015-05-19 02:34 PDT, Hunseop Jeong
no flags
Patch (18.48 KB, patch)
2015-05-19 22:51 PDT, Hunseop Jeong
no flags
Patch (18.47 KB, patch)
2015-05-19 22:58 PDT, Hunseop Jeong
no flags
Hunseop Jeong
Comment 1 2015-05-19 02:15:17 PDT
WebKit Commit Bot
Comment 2 2015-05-19 02:17:26 PDT
Attachment 253375 [details] did not pass style-queue: ERROR: Source/WebCore/xml/parser/XMLDocumentParserScope.h:48: The parameter name "structuredErrorFunc" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Hunseop Jeong
Comment 3 2015-05-19 02:34:53 PDT
Hunseop Jeong
Comment 4 2015-05-19 02:37:32 PDT
(In reply to comment #2) > Attachment 253375 [details] did not pass style-queue: > > > ERROR: Source/WebCore/xml/parser/XMLDocumentParserScope.h:48: The parameter > name "structuredErrorFunc" adds no information, so it should be removed. > [readability/parameter_name] [5] > Total errors found: 1 in 12 files > Is "structuredErrorFunc" need to initialize the variable? I removed the changes in Source/WebCore/xml/parser/XMLDocumentParserScope.h because the style-checker inform the error. > > If any of these errors are false positives, please file a bug against > check-webkit-style.
Csaba Osztrogonác
Comment 5 2015-05-19 04:22:01 PDT
(In reply to comment #2) > Attachment 253375 [details] did not pass style-queue: > > > ERROR: Source/WebCore/xml/parser/XMLDocumentParserScope.h:48: The parameter > name "structuredErrorFunc" adds no information, so it should be removed. > [readability/parameter_name] [5] > Total errors found: 1 in 12 files > > > If any of these errors are false positives, please file a bug against > check-webkit-style. I think it is a false positive warning, you need the variable name to be able to add a default parameter.
Csaba Osztrogonác
Comment 6 2015-05-19 04:32:21 PDT
Comment on attachment 253377 [details] Patch LGTM, r=me But please add back the good change of Source/WebCore/xml/parser/XMLDocumentParserScope.h, style checker result is misleading, you only changed 0 to nullptr, you don't need to find a better variable name to make style checker happy.
Hunseop Jeong
Comment 7 2015-05-19 22:51:41 PDT
WebKit Commit Bot
Comment 8 2015-05-19 22:54:09 PDT
Attachment 253428 [details] did not pass style-queue: ERROR: Source/WebCore/xml/parser/XMLDocumentParserScope.h:48: The parameter name "structuredErrorFunc" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Hunseop Jeong
Comment 9 2015-05-19 22:58:48 PDT
WebKit Commit Bot
Comment 10 2015-05-19 23:00:27 PDT
Attachment 253430 [details] did not pass style-queue: ERROR: Source/WebCore/xml/parser/XMLDocumentParserScope.h:48: The parameter name "structuredErrorFunc" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Hunseop Jeong
Comment 11 2015-05-19 23:10:23 PDT
(In reply to comment #6) > Comment on attachment 253377 [details] > Patch > > LGTM, r=me > > But please add back the good change of > Source/WebCore/xml/parser/XMLDocumentParserScope.h, > style checker result is misleading, you only changed 0 to nullptr, you don't > need to find a > better variable name to make style checker happy. Thanks, ossy. I recover the original changes. Could you give the r+ again? I tried to add the your name to "Reviewed by" by myself. But it looks like your name is wrong : "Reviewed by Csaba Osztrogonác."
Csaba Osztrogonác
Comment 12 2015-05-19 23:48:58 PDT
Comment on attachment 253430 [details] Patch Mac failure is unrelated, these tests fail on trunk.
WebKit Commit Bot
Comment 13 2015-05-20 00:39:20 PDT
Comment on attachment 253430 [details] Patch Clearing flags on attachment: 253430 Committed r184622: <http://trac.webkit.org/changeset/184622>
WebKit Commit Bot
Comment 14 2015-05-20 00:39:23 PDT
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.