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 |