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

Unified Diff: Source/modules/encoding/TextEncoder.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/TextEncoder.h
diff --git a/Source/modules/encoding/TextEncoder.h b/Source/modules/encoding/TextEncoder.h
index 287ebd33bebef786ad85e3e4b313f288f0e76f10..9105a8d10249d37ec62e6b11818048ba757e6712 100644
--- a/Source/modules/encoding/TextEncoder.h
+++ b/Source/modules/encoding/TextEncoder.h
@@ -56,9 +56,9 @@ public:
void trace(Visitor*) { }
private:
- TextEncoder(const String& encoding);
+ TextEncoder(const String& label, const String& name);
- WTF::TextEncoding m_encoding;
+ String m_encoding;
OwnPtr<WTF::TextCodec> m_codec;
};

Powered by Google App Engine
This is Rietveld 408576698