Index: Source/core/loader/TextResourceDecoderBuilder.cpp |
diff --git a/Source/core/loader/TextResourceDecoderBuilder.cpp b/Source/core/loader/TextResourceDecoderBuilder.cpp |
index a9dbc01ebbf780fa306de4dfabdd176635a77990..b1843b23c4743e6b2ab58c20402a3ea497163955 100644 |
--- a/Source/core/loader/TextResourceDecoderBuilder.cpp |
+++ b/Source/core/loader/TextResourceDecoderBuilder.cpp |
@@ -88,7 +88,7 @@ inline void TextResourceDecoderBuilder::setupEncoding(TextResourceDecoder* decod |
decoder->setHintEncoding(parentFrame->document()->encoding()); |
if (m_encoding.isEmpty()) |
- decoder->setEncoding(parentFrame->document()->inputEncoding(), TextResourceDecoder::EncodingFromParentFrame); |
+ decoder->setEncoding(parentFrame->document()->inputEncoding().string(), TextResourceDecoder::EncodingFromParentFrame); |
} |
} |