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

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

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 | « no previous file | third_party/WebKit/Source/modules/fetch/Body.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/fetch/Body.h
diff --git a/third_party/WebKit/Source/modules/fetch/Body.h b/third_party/WebKit/Source/modules/fetch/Body.h
index 8369aef432177a9de85c3efe154ee92723705adb..b7f07b0a2d39ec332336e7e34eb132025dce0bfe 100644
--- a/third_party/WebKit/Source/modules/fetch/Body.h
+++ b/third_party/WebKit/Source/modules/fetch/Body.h
@@ -30,7 +30,7 @@ class ScriptState;
class MODULES_EXPORT Body : public GarbageCollected<Body>,
public ScriptWrappable,
public ActiveScriptWrappable<Body>,
- public ContextLifecycleObserver {
+ public ContextClient {
WTF_MAKE_NONCOPYABLE(Body);
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(Body);
@@ -53,7 +53,7 @@ class MODULES_EXPORT Body : public GarbageCollected<Body>,
// ScriptWrappable override.
bool hasPendingActivity() const override;
- DEFINE_INLINE_VIRTUAL_TRACE() { ContextLifecycleObserver::trace(visitor); }
+ DEFINE_INLINE_VIRTUAL_TRACE() { ContextClient::trace(visitor); }
private:
virtual String mimeType() const = 0;
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/fetch/Body.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698