Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Issue 276733002: Convert XMLDocumentParser code to Use more reference (Closed)

Created:
6 years, 7 months ago by maheshkk
Modified:
6 years, 7 months ago
Reviewers:
Inactive, adamk
CC:
blink-reviews, eustas+blink_chromium.org, caseq+blink_chromium.org, blink-reviews-html_chromium.org, loislo+blink_chromium.org, pfeldman+blink_chromium.org, malch+blink_chromium.org, sof, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, blink-reviews-dom_chromium.org, dglazkov+blink, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Convert XMLDocumentParser code to Use more reference Document pointer can not be null to create XMLDocumentParser. Move the parameter to use reference to make caller code safer. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173780

Patch Set 1 #

Total comments: 10

Patch Set 2 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -19 lines) Patch
M Source/core/dom/DecodedDataDocumentParser.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/DecodedDataDocumentParser.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/ScriptableDocumentParser.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/ScriptableDocumentParser.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/parser/HTMLDocumentParser.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/html/parser/HTMLViewSourceParser.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/inspector/DOMPatchSupport.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/parser/XMLDocumentParser.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/xml/parser/XMLDocumentParser.cpp View 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
maheshkk
PTAL
6 years, 7 months ago (2014-05-08 19:34:34 UTC) #1
Inactive
https://codereview.chromium.org/276733002/diff/1/Source/core/dom/DocumentParser.cpp File Source/core/dom/DocumentParser.cpp (left): https://codereview.chromium.org/276733002/diff/1/Source/core/dom/DocumentParser.cpp#oldcode39 Source/core/dom/DocumentParser.cpp:39: ASSERT(document); Why did you remove this assertion? (you did ...
6 years, 7 months ago (2014-05-08 19:45:41 UTC) #2
maheshkk
Thanks for review Chris. PTAL! https://codereview.chromium.org/276733002/diff/1/Source/core/dom/DocumentParser.cpp File Source/core/dom/DocumentParser.cpp (left): https://codereview.chromium.org/276733002/diff/1/Source/core/dom/DocumentParser.cpp#oldcode39 Source/core/dom/DocumentParser.cpp:39: ASSERT(document); On 2014/05/08 19:45:42, ...
6 years, 7 months ago (2014-05-08 20:02:31 UTC) #3
Inactive
lgtm
6 years, 7 months ago (2014-05-08 20:20:48 UTC) #4
maheshkk
The CQ bit was checked by mahesh.kk@samsung.com
6 years, 7 months ago (2014-05-08 21:02:57 UTC) #5
maheshkk
The CQ bit was unchecked by mahesh.kk@samsung.com
6 years, 7 months ago (2014-05-08 21:02:58 UTC) #6
maheshkk
The CQ bit was checked by mahesh.kk@samsung.com
6 years, 7 months ago (2014-05-09 20:17:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mahesh.kk@samsung.com/276733002/20001
6 years, 7 months ago (2014-05-09 20:18:38 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-05-09 20:32:48 UTC) #9
Message was sent while issue was closed.
Change committed as 173780

Powered by Google App Engine
This is Rietveld 408576698