| Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| index c29564fccd737f49b3a7022ed98cd0f706a2937c..fca45537727c5b82a6ece7969e39f5108a498d7f 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| @@ -464,7 +464,7 @@ void DocumentLoader::ensureWriter(const AtomicString& mimeType, const KURL& over
|
| if (m_writer)
|
| return;
|
|
|
| - const AtomicString& encoding = m_frame->host()->overrideEncoding().isNull() ? response().textEncodingName() : m_frame->host()->overrideEncoding();
|
| + const AtomicString& encoding = response().textEncodingName();
|
|
|
| // Prepare a DocumentInit before clearing the frame, because it may need to
|
| // inherit an aliased security context.
|
|
|