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

Unified Diff: Source/core/html/parser/HTMLViewSourceParser.cpp

Issue 799803004: Demistify DocumentParser::append (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: resurrect fixme Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/parser/HTMLViewSourceParser.h ('k') | Source/core/inspector/DOMPatchSupport.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLViewSourceParser.cpp
diff --git a/Source/core/html/parser/HTMLViewSourceParser.cpp b/Source/core/html/parser/HTMLViewSourceParser.cpp
index 4df8f8b273a25668755d02d877e6f44638f97f15..ed0b8a8ae919c21c876cb909b7906515224d0c40 100644
--- a/Source/core/html/parser/HTMLViewSourceParser.cpp
+++ b/Source/core/html/parser/HTMLViewSourceParser.cpp
@@ -63,9 +63,9 @@ void HTMLViewSourceParser::pumpTokenizer()
}
}
-void HTMLViewSourceParser::append(PassRefPtr<StringImpl> input)
+void HTMLViewSourceParser::append(const String& input)
{
- m_input.appendToEnd(String(input));
+ m_input.appendToEnd(input);
pumpTokenizer();
}
« no previous file with comments | « Source/core/html/parser/HTMLViewSourceParser.h ('k') | Source/core/inspector/DOMPatchSupport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698