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

Unified Diff: third_party/WebKit/Source/web/PrerendererClientImpl.cpp

Issue 2411863002: [NoStatePrefetch] Kill renderer after preload scanning (Closed)
Patch Set: Created 4 years, 2 months 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/web/PrerendererClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/PrerendererClientImpl.cpp b/third_party/WebKit/Source/web/PrerendererClientImpl.cpp
index 9475508dda76f84f6a80787d77a0b7cea16e407d..25e79ce0d672bbee35a3187febdb6123bfec27dc 100644
--- a/third_party/WebKit/Source/web/PrerendererClientImpl.cpp
+++ b/third_party/WebKit/Source/web/PrerendererClientImpl.cpp
@@ -52,4 +52,10 @@ bool PrerendererClientImpl::isPrefetchOnly() {
return m_client && m_client->isPrefetchOnly();
}
+void PrerendererClientImpl::onPrefetchFinished() {
+ if (!m_client)
+ return;
+ m_client->onPrefetchFinished();
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698