Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index c24eb4170bbab3d22b2581b842b399250f664c4c..bc5685f2a9c718bcafd8daf70c9ceefe250e0bbb 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -1557,6 +1557,16 @@ void Document::updateStyleInvalidationIfNeeded() |
styleEngine().styleInvalidator().invalidate(*this); |
} |
+bool Document::attemptedToDetermineEncodingFromContentSniffing() const |
+{ |
+ return m_encodingData.attemptedToDetermineEncodingFromContentSniffing(); |
+} |
+ |
+bool Document::encodingWasDetectedFromContentSniffing() const |
+{ |
+ return m_encodingData.encodingWasDetectedFromContentSniffing(); |
+} |
+ |
void Document::setupFontBuilder(ComputedStyle& documentStyle) |
{ |
FontBuilder fontBuilder(*this); |