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

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

Issue 74493002: Removed refcounting from TextResourceDecoder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parserthread_step2
Patch Set: Compile fix 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/DecodedDataDocumentParser.cpp ('k') | Source/core/dom/DocumentParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentParser.h
diff --git a/Source/core/dom/DocumentParser.h b/Source/core/dom/DocumentParser.h
index fa1d90a40c3fc2bf359f40bed0799789d4b054b2..c0b502ae36bfb2db0b0ab1ed5f0a340e86973e73 100644
--- a/Source/core/dom/DocumentParser.h
+++ b/Source/core/dom/DocumentParser.h
@@ -52,8 +52,8 @@ public:
virtual void appendBytes(const char* bytes, size_t length) = 0;
virtual void flush() = 0;
virtual bool needsDecoder() const { return false; }
- virtual void setDecoder(PassRefPtr<TextResourceDecoder>);
- virtual PassRefPtr<TextResourceDecoder> decoder();
+ virtual void setDecoder(PassOwnPtr<TextResourceDecoder>);
+ virtual TextResourceDecoder* decoder();
virtual void setHasAppendedData() { }
// pinToMainThread also makes append() not yield before completion of that chunk.
« no previous file with comments | « Source/core/dom/DecodedDataDocumentParser.cpp ('k') | Source/core/dom/DocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698