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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentEncodingData.cpp

Issue 1456843002: Finch experiment: auto-detect text encoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
Index: third_party/WebKit/Source/core/dom/DocumentEncodingData.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentEncodingData.cpp b/third_party/WebKit/Source/core/dom/DocumentEncodingData.cpp
index ed5771c4833a4b10ed6c2be1d2dd25fee5c01125..ac9deb033c5dfe78007a9993b71267f735ae51c9 100644
--- a/third_party/WebKit/Source/core/dom/DocumentEncodingData.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentEncodingData.cpp
@@ -46,6 +46,8 @@ DocumentEncodingData::DocumentEncodingData(const TextResourceDecoder& decoder)
{
m_encoding = decoder.encoding();
m_wasDetectedHeuristically = decoder.encodingWasDetectedHeuristically();
+ m_attemptedToDetermineEncodingFromContentSniffing = decoder.attemptedToDetermineEncodingFromContentSniffing();
+ m_encodingWasDetectedFromContentSniffing = decoder.encodingWasDetectedFromContentSniffing();
m_sawDecodingError = decoder.sawError();
}

Powered by Google App Engine
This is Rietveld 408576698