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

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

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 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/Body.h
diff --git a/third_party/WebKit/Source/modules/fetch/Body.h b/third_party/WebKit/Source/modules/fetch/Body.h
index c13da67bedcfedf0a9b5a8264ba437b62596405c..01dfe881df248a165f6a5767ef30d2820fd3b56c 100644
--- a/third_party/WebKit/Source/modules/fetch/Body.h
+++ b/third_party/WebKit/Source/modules/fetch/Body.h
@@ -5,6 +5,7 @@
#ifndef Body_h
#define Body_h
+#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/ScriptPromise.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/ActiveDOMObject.h"
@@ -29,6 +30,7 @@ class ScriptState;
class MODULES_EXPORT Body
: public GarbageCollectedFinalized<Body>
, public ScriptWrappable
+ , public ActiveScriptWrappable
, public ActiveDOMObject {
WTF_MAKE_NONCOPYABLE(Body);
DEFINE_WRAPPERTYPEINFO();
@@ -49,7 +51,7 @@ public:
virtual bool bodyUsed();
bool isBodyLocked();
- // ActiveDOMObject override.
+ // ActiveScriptWrappable override.
bool hasPendingActivity() const override;
DEFINE_INLINE_VIRTUAL_TRACE()

Powered by Google App Engine
This is Rietveld 408576698