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

Unified Diff: Source/modules/encoding/TextDecoder.h

Issue 145973021: Implement "replacement" text encoding. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Verify replacement name Created 6 years, 10 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/modules/encoding/TextDecoder.h
diff --git a/Source/modules/encoding/TextDecoder.h b/Source/modules/encoding/TextDecoder.h
index 58eddcfeec554e8708b531db73f5f6f03b65495c..a6bc43d92aa756dced79225d6d11d88475550464 100644
--- a/Source/modules/encoding/TextDecoder.h
+++ b/Source/modules/encoding/TextDecoder.h
@@ -56,9 +56,9 @@ public:
using RefCounted<TextDecoder>::deref;
private:
- TextDecoder(const String& encoding, bool fatal);
+ TextDecoder(const String& label, const String& name, bool fatal);
- WTF::TextEncoding m_encoding;
+ String m_encoding;
OwnPtr<WTF::TextCodec> m_codec;
bool m_fatal;
bool m_bomSeen;

Powered by Google App Engine
This is Rietveld 408576698