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

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

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.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/Body.cpp b/third_party/WebKit/Source/modules/fetch/Body.cpp
index 10b74dfca85129478098615b6ff27a7d04f66c40..1e64fe123a83319bc00f9ea7a453c3a6c61a3caa 100644
--- a/third_party/WebKit/Source/modules/fetch/Body.cpp
+++ b/third_party/WebKit/Source/modules/fetch/Body.cpp
@@ -219,7 +219,10 @@ bool Body::hasPendingActivity() const
return bodyBuffer()->hasPendingActivity();
}
-Body::Body(ExecutionContext* context) : ActiveDOMObject(context), m_opaque(false)
+Body::Body(ExecutionContext* context)
+ : ActiveScriptWrappable(this)
+ , ActiveDOMObject(context)
+ , m_opaque(false)
{
suspendIfNeeded();
}

Powered by Google App Engine
This is Rietveld 408576698