Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
index 75d76a9b20d39fa8306b9ddbd9849d641f01dcba..557722836f82fc77c9810d39fe8cf57e3be3ddcd 100644 |
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
@@ -77,6 +77,7 @@ |
#include "public/web/WebInputEvent.h" |
#include "public/web/WebKit.h" |
#include "public/web/WebNode.h" |
+#include "public/web/WebPageImportanceSignals.h" |
#include "public/web/WebPlugin.h" |
#include "public/web/WebPopupMenuInfo.h" |
#include "public/web/WebSelection.h" |
@@ -1006,4 +1007,10 @@ FloatSize ChromeClientImpl::elasticOverscroll() const |
return m_webView->elasticOverscroll(); |
} |
+void ChromeClientImpl::didObserveNonGetFetchFromScript() const |
+{ |
+ if (m_webView->pageImportanceSignals()) |
+ m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript(); |
+} |
+ |
} // namespace blink |