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

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

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (Closed)
Patch Set: Created 4 years 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 4f5fb8f2256c8979751fe361909ec17bb0b32c9a..c71f2d1b58106661fe658e38ddae1dd0753ccb7e 100644
--- a/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
+++ b/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
@@ -22,7 +22,7 @@ namespace blink {
class BodyStreamBuffer::LoaderClient final
: public GarbageCollectedFinalized<LoaderClient>,
- public ActiveDOMObject,
+ public SuspendableObject,
public FetchDataLoader::Client {
WTF_MAKE_NONCOPYABLE(LoaderClient);
USING_GARBAGE_COLLECTED_MIXIN(LoaderClient);
@@ -31,7 +31,9 @@ class BodyStreamBuffer::LoaderClient final
LoaderClient(ExecutionContext* executionContext,
BodyStreamBuffer* buffer,
FetchDataLoader::Client* client)
- : ActiveDOMObject(executionContext), m_buffer(buffer), m_client(client) {
+ : SuspendableObject(executionContext),
+ m_buffer(buffer),
+ m_client(client) {
suspendIfNeeded();
}
@@ -64,7 +66,7 @@ class BodyStreamBuffer::LoaderClient final
DEFINE_INLINE_TRACE() {
visitor->trace(m_buffer);
visitor->trace(m_client);
- ActiveDOMObject::trace(visitor);
+ SuspendableObject::trace(visitor);
FetchDataLoader::Client::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698