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

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

Issue 2605603002: Body should use ContextClient instead of ContextLifecycleObserver (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
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Body.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/fetch/Body.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/Body.cpp b/third_party/WebKit/Source/modules/fetch/Body.cpp
index eeffbb138b3b8e1a9b8e26066a6c7ae068604c13..b168fb3c8fdd831a2ede69403122a145537d990e 100644
--- a/third_party/WebKit/Source/modules/fetch/Body.cpp
+++ b/third_party/WebKit/Source/modules/fetch/Body.cpp
@@ -224,7 +224,7 @@ bool Body::hasPendingActivity() const {
return bodyBuffer()->hasPendingActivity();
}
-Body::Body(ExecutionContext* context) : ContextLifecycleObserver(context) {}
+Body::Body(ExecutionContext* context) : ContextClient(context) {}
ScriptPromise Body::rejectInvalidConsumption(ScriptState* scriptState) {
if (isBodyLocked() || bodyUsed())
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Body.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698