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

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

Issue 145973021: Implement "replacement" text encoding. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Replacement codec should emit U+FFFD Created 6 years, 9 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 4d09fc0b63a703be0c7d436eeb5b9b21a46c4a08..417487bd70c079f06f2cbf130f4763563a91a859 100644
--- a/Source/modules/encoding/TextDecoder.h
+++ b/Source/modules/encoding/TextDecoder.h
@@ -56,9 +56,9 @@ public:
void trace(Visitor*) { }
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