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

Unified Diff: Source/core/dom/DocumentParser.cpp

Issue 69823002: Move ownership of the TextResourceDecoder to DecodedDataDocumentParser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review fixes Created 7 years, 1 month 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/dom/DocumentParser.h ('k') | Source/core/fetch/TextResourceDecoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentParser.cpp
diff --git a/Source/core/dom/DocumentParser.cpp b/Source/core/dom/DocumentParser.cpp
index dcafb092c930feb9cbfc025de4d4ccf1f7cea0e5..fa6d9e8356f9afc98c91c806aebabee39f8f46e5 100644
--- a/Source/core/dom/DocumentParser.cpp
+++ b/Source/core/dom/DocumentParser.cpp
@@ -25,6 +25,7 @@
#include "config.h"
#include "core/dom/DocumentParser.h"
+#include "core/fetch/TextResourceDecoder.h"
#include "wtf/Assertions.h"
@@ -46,6 +47,16 @@ DocumentParser::~DocumentParser()
ASSERT(!m_document);
}
+void DocumentParser::setDecoder(PassRefPtr<TextResourceDecoder>)
+{
+ ASSERT_NOT_REACHED();
+}
+
+PassRefPtr<TextResourceDecoder> DocumentParser::decoder()
+{
+ return 0;
+}
+
void DocumentParser::startParsing()
{
m_state = ParsingState;
« no previous file with comments | « Source/core/dom/DocumentParser.h ('k') | Source/core/fetch/TextResourceDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698