Index: third_party/WebKit/Source/core/fetch/ScriptResource.h |
diff --git a/third_party/WebKit/Source/core/fetch/ScriptResource.h b/third_party/WebKit/Source/core/fetch/ScriptResource.h |
index 254d5569a2601ea17c87393c4ef03c35d1aad23c..8ca7b966a526fe79b4f662ac35976ca3a191fafe 100644 |
--- a/third_party/WebKit/Source/core/fetch/ScriptResource.h |
+++ b/third_party/WebKit/Source/core/fetch/ScriptResource.h |
@@ -53,6 +53,8 @@ public: |
virtual void notifyAppendData(ScriptResource* resource) { } |
+ virtual void notifyCancelStreamingTask(ScriptResource* resource) { } |
+ |
DEFINE_INLINE_VIRTUAL_TRACE() {} |
}; |
@@ -101,6 +103,8 @@ private: |
ScriptResource(const ResourceRequest&, const ResourceLoaderOptions&, const String& charset); |
+ void destroyDecodedDataIfPossible() override; |
+ |
ScriptIntegrityDisposition m_integrityDisposition; |
IntegrityMetadataSet m_integrityMetadata; |