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

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

Issue 1962113003: Make ActiveScriptWrappable the GC mixin it is. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 75998bfcc889d72fbc6f7152af4c3cdac8d22cd8..4eb6c3991812eec93e8173ea5bd08585d4df4c26 100644
--- a/third_party/WebKit/Source/modules/fetch/Body.h
+++ b/third_party/WebKit/Source/modules/fetch/Body.h
@@ -29,7 +29,7 @@ class ScriptState;
// Encoding spec. The spec should be fixed shortly to be aligned with this
// implementation.
class MODULES_EXPORT Body
- : public GarbageCollectedFinalized<Body>
+ : public GarbageCollected<Body>
, public ScriptWrappable
, public ActiveScriptWrappable
, public ContextLifecycleObserver {
@@ -38,7 +38,6 @@ class MODULES_EXPORT Body
USING_GARBAGE_COLLECTED_MIXIN(Body);
public:
explicit Body(ExecutionContext*);
- ~Body() override { }
ScriptPromise arrayBuffer(ScriptState*);
ScriptPromise blob(ScriptState*);

Powered by Google App Engine
This is Rietveld 408576698