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

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

Issue 269593009: Encoding API: Update tests and simplify constructors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « LayoutTests/fast/encoding/api/resources/shared.js ('k') | Source/modules/encoding/TextDecoder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encoding/TextDecoder.h
diff --git a/Source/modules/encoding/TextDecoder.h b/Source/modules/encoding/TextDecoder.h
index b2dc7888867fdedd5b72cfa1fddcd8efe2df1d7b..3c0310f1f83ba30f37a3c82b2aa53b512ddd68c2 100644
--- a/Source/modules/encoding/TextDecoder.h
+++ b/Source/modules/encoding/TextDecoder.h
@@ -56,7 +56,7 @@ public:
void trace(Visitor*) { }
private:
- TextDecoder(const String& encoding, bool fatal);
+ TextDecoder(const WTF::TextEncoding&, bool fatal);
WTF::TextEncoding m_encoding;
OwnPtr<WTF::TextCodec> m_codec;
« no previous file with comments | « LayoutTests/fast/encoding/api/resources/shared.js ('k') | Source/modules/encoding/TextDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698