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

Unified Diff: Source/core/loader/TextResourceDecoderBuilder.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/loader/DocumentWriter.cpp ('k') | Source/core/loader/TextResourceDecoderBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/TextResourceDecoderBuilder.h
diff --git a/Source/core/loader/TextResourceDecoderBuilder.h b/Source/core/loader/TextResourceDecoderBuilder.h
index c2a57b9f4da36a4ba5014211be2e6e30cb2df2f1..c59221722a6ed1f840313a8beaa527d99ca714de 100644
--- a/Source/core/loader/TextResourceDecoderBuilder.h
+++ b/Source/core/loader/TextResourceDecoderBuilder.h
@@ -45,7 +45,7 @@ public:
TextResourceDecoderBuilder(const String& mimeType, const String& encoding, bool encodingUserChoosen);
~TextResourceDecoderBuilder();
- PassRefPtr<TextResourceDecoder> buildFor(Document*);
+ PassOwnPtr<TextResourceDecoder> buildFor(Document*);
const String& mimeType() const { return m_mimeType; }
const String& encoding() const { return m_encoding; }
@@ -54,7 +54,7 @@ public:
void clear();
private:
- PassRefPtr<TextResourceDecoder> createDecoderInstance(Document*);
+ PassOwnPtr<TextResourceDecoder> createDecoderInstance(Document*);
void setupEncoding(TextResourceDecoder*, Document*);
String m_mimeType;
« no previous file with comments | « Source/core/loader/DocumentWriter.cpp ('k') | Source/core/loader/TextResourceDecoderBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698