|
Demistify DocumentParser::append
Today it takes a PassRefptr<StringImpl> as argument. This supposed to express
that the input string is passed in a destructive manner. However this is no
longer the case. It was needed by the background parser but this code has been
refactored and now append is only used on the synchronous parsing path.
Also remove outdated comment that it should not be public. Both DocumentWriter
and DOMPatchSupport uses it and there is nothing particularly wrong with that.
R=kouhei@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187561
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+19 lines, -27 lines) |
Patch |
|
M |
Source/core/dom/DecodedDataDocumentParser.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/DecodedDataDocumentParser.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/Document.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/DocumentParser.h
|
View
|
1
2
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/RawDataDocumentParser.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/parser/HTMLDocumentParser.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/parser/HTMLDocumentParser.cpp
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/parser/HTMLViewSourceParser.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/parser/HTMLViewSourceParser.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/inspector/DOMPatchSupport.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/loader/DocumentWriter.cpp
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/xml/parser/XMLDocumentParser.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/xml/parser/XMLDocumentParser.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 7 (1 generated)
|