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

Unified Diff: third_party/WebKit/Source/core/dom/PendingScript.cpp

Issue 2130683002: [Experiment] purge-and-suspend Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 5 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/core/dom/PendingScript.cpp
diff --git a/third_party/WebKit/Source/core/dom/PendingScript.cpp b/third_party/WebKit/Source/core/dom/PendingScript.cpp
index 246e3260e2ac618e8c70291106713f6d9169b5f1..ea0de98c2f3fe38f7b141b0274aaf064be0893d4 100644
--- a/third_party/WebKit/Source/core/dom/PendingScript.cpp
+++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp
@@ -227,4 +227,10 @@ bool PendingScript::errorOccurred() const
return false;
}
+void PendingScript::notifyCancelStreamingTask(ScriptResource* resource)
+{
+ if (m_streamer)
+ m_streamer->cancel();
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698