Index: Source/wtf/text/TextEncodingRegistry.cpp |
diff --git a/Source/wtf/text/TextEncodingRegistry.cpp b/Source/wtf/text/TextEncodingRegistry.cpp |
index 7f241343fc7c841ff2f7e3611a93822967d23941..4bbf81b1e99f9a9f7a7b9c673ff7c1e08868d5c8 100644 |
--- a/Source/wtf/text/TextEncodingRegistry.cpp |
+++ b/Source/wtf/text/TextEncodingRegistry.cpp |
@@ -38,6 +38,7 @@ |
#include "wtf/text/CString.h" |
#include "wtf/text/TextCodecICU.h" |
#include "wtf/text/TextCodecLatin1.h" |
+#include "wtf/text/TextCodecReplacement.h" |
#include "wtf/text/TextCodecUTF16.h" |
#include "wtf/text/TextCodecUTF8.h" |
#include "wtf/text/TextCodecUserDefined.h" |
@@ -275,6 +276,9 @@ bool shouldShowBackslashAsCurrencySymbolIn(const char* canonicalEncodingName) |
static void extendTextCodecMaps() |
{ |
+ TextCodecReplacement::registerEncodingNames(addToTextEncodingNameMap); |
+ TextCodecReplacement::registerCodecs(addToTextCodecMap); |
+ |
TextCodecICU::registerEncodingNames(addToTextEncodingNameMap); |
TextCodecICU::registerCodecs(addToTextCodecMap); |