| Index: Source/core/loader/DocumentLoader.cpp
|
| diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp
|
| index 027bb01fb04524debe8201a56a2e9f5005ea5b2e..78aa2eb070a51156817d1747dc944b67987db61d 100644
|
| --- a/Source/core/loader/DocumentLoader.cpp
|
| +++ b/Source/core/loader/DocumentLoader.cpp
|
| @@ -932,6 +932,12 @@ String DocumentLoader::mimeType() const
|
| return m_response.mimeType();
|
| }
|
|
|
| +void DocumentLoader::setUserChosenEncoding(const String& charset)
|
| +{
|
| + if (m_writer)
|
| + m_writer->setUserChosenEncoding(charset);
|
| +}
|
| +
|
| // This is only called by ScriptController::executeScriptIfJavaScriptURL
|
| // and always contains the result of evaluating a javascript: url.
|
| // This is the <iframe src="javascript:'html'"> case.
|
|
|