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

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

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp 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/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 6b69b18b8bc3dba294d3ca277ed621535581d75d..923e6720a3f5af256beb66c474c13190d1e4267e 100644
--- a/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
+++ b/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
@@ -68,7 +68,7 @@ class BodyStreamBuffer::LoaderClient final
}
private:
- void stop() override { m_buffer->stopLoading(); }
+ void contextDestroyed() override { m_buffer->stopLoading(); }
Member<BodyStreamBuffer> m_buffer;
Member<FetchDataLoader::Client> m_client;
@@ -235,9 +235,9 @@ bool BodyStreamBuffer::hasPendingActivity() const {
return UnderlyingSourceBase::hasPendingActivity();
}
-void BodyStreamBuffer::stop() {
+void BodyStreamBuffer::contextDestroyed() {
cancelConsumer();
- UnderlyingSourceBase::stop();
+ UnderlyingSourceBase::contextDestroyed();
}
bool BodyStreamBuffer::isStreamReadable() {

Powered by Google App Engine
This is Rietveld 408576698