Index: third_party/WebKit/Source/web/WebDocument.cpp |
diff --git a/third_party/WebKit/Source/web/WebDocument.cpp b/third_party/WebKit/Source/web/WebDocument.cpp |
index 450ccaa6b89493a6ccc054a18c585126b8ff71d0..e5b650ff257b3ee178142f17394eb250fcbcb02d 100644 |
--- a/third_party/WebKit/Source/web/WebDocument.cpp |
+++ b/third_party/WebKit/Source/web/WebDocument.cpp |
@@ -322,6 +322,18 @@ WebDistillabilityFeatures WebDocument::distillabilityFeatures() |
return DocumentStatisticsCollector::collectStatistics(*unwrap<Document>()); |
} |
+bool WebDocument::attemptedToDetermineEncodingFromContentSniffing() const |
+{ |
+ const Document* document = constUnwrap<Document>(); |
+ return document->attemptedToDetermineEncodingFromContentSniffing(); |
+} |
+ |
+bool WebDocument::encodingWasDetectedFromContentSniffing() const |
+{ |
+ const Document* document = constUnwrap<Document>(); |
+ return document->encodingWasDetectedFromContentSniffing(); |
+} |
+ |
WebDocument::WebDocument(const PassRefPtrWillBeRawPtr<Document>& elem) |
: WebNode(elem) |
{ |