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

Unified Diff: third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)
Patch Set: temp Created 3 years, 11 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/modules/fetch/BodyStreamBuffer.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp b/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
index 2f717ff07e0d5e06ff24f3f101f6a0b0e5e252f1..a34726928513c3855f34cc2dc174752b381b7228 100644
--- a/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
+++ b/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
@@ -69,7 +69,7 @@ class BodyStreamBuffer::LoaderClient final
}
private:
- void contextDestroyed() override { m_buffer->stopLoading(); }
+ void contextDestroyed(ExecutionContext*) override { m_buffer->stopLoading(); }
Member<BodyStreamBuffer> m_buffer;
Member<FetchDataLoader::Client> m_client;
@@ -236,9 +236,9 @@ bool BodyStreamBuffer::hasPendingActivity() const {
return UnderlyingSourceBase::hasPendingActivity();
}
-void BodyStreamBuffer::contextDestroyed() {
+void BodyStreamBuffer::contextDestroyed(ExecutionContext* destroyedContext) {
cancelConsumer();
- UnderlyingSourceBase::contextDestroyed();
+ UnderlyingSourceBase::contextDestroyed(destroyedContext);
}
bool BodyStreamBuffer::isStreamReadable() {
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.h ('k') | third_party/WebKit/Source/modules/fetch/FetchManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698