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 e10b756e4cdbd1c624d7b2d4aa3bbeab185553f1..b550a074f61fb69c56d2a09b39d7afda84a9b632 100644 |
--- a/third_party/WebKit/Source/web/WebDocument.cpp |
+++ b/third_party/WebKit/Source/web/WebDocument.cpp |
@@ -56,6 +56,7 @@ |
#include "modules/accessibility/AXObject.h" |
#include "modules/accessibility/AXObjectCacheImpl.h" |
#include "platform/weborigin/SecurityOrigin.h" |
+#include "public/platform/WebDistillability.h" |
#include "public/platform/WebURL.h" |
#include "public/web/WebAXObject.h" |
#include "public/web/WebDOMEvent.h" |
@@ -322,6 +323,11 @@ bool WebDocument::manifestUseCredentials() const |
return equalIgnoringCase(linkElement->fastGetAttribute(HTMLNames::crossoriginAttr), "use-credentials"); |
} |
+WebDistillabilityFeatures WebDocument::distillabilityFeatures() |
+{ |
+ return unwrap<Document>()->distillabilityFeatures(); |
+} |
+ |
WebDocument::WebDocument(const PassRefPtrWillBeRawPtr<Document>& elem) |
: WebNode(elem) |
{ |