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

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

Issue 276733002: Convert XMLDocumentParser code to Use more reference (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 months 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
Index: Source/core/html/parser/HTMLViewSourceParser.cpp
diff --git a/Source/core/html/parser/HTMLViewSourceParser.cpp b/Source/core/html/parser/HTMLViewSourceParser.cpp
index 55e860f3d1fe2bb8b881a0171bb0087a29f6c7e2..feba73b5b976b8490906a627697cef10e854383d 100644
--- a/Source/core/html/parser/HTMLViewSourceParser.cpp
+++ b/Source/core/html/parser/HTMLViewSourceParser.cpp
@@ -34,7 +34,7 @@
namespace WebCore {
HTMLViewSourceParser::HTMLViewSourceParser(HTMLViewSourceDocument* document, const String& mimeType)
Inactive 2014/05/08 19:45:42 I assume you are planning to update this to take a
maheshkk 2014/05/08 20:02:32 Done.
- : DecodedDataDocumentParser(document)
+ : DecodedDataDocumentParser(*document)
, m_tokenizer(HTMLTokenizer::create(HTMLParserOptions(document)))
{
if (mimeType != "text/html" && !DOMImplementation::isXMLMIMEType(mimeType))

Powered by Google App Engine
This is Rietveld 408576698