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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h

Issue 1804043002: Revert of Remove V8RecrusionScope, cleanup call sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/bindings/core/v8/V8ObjectConstructor.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h b/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h
index 93e73c072395b9497fd462a3b0c8c081559f14fa..10b0a1f07eceae14ce0c0257d83aceec7dca1afa 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h
@@ -32,6 +32,7 @@
#define V8ObjectConstructor_h
#include "bindings/core/v8/V8PerIsolateData.h"
+#include "bindings/core/v8/V8RecursionScope.h"
#include "wtf/Allocator.h"
#include <v8.h>
@@ -50,7 +51,7 @@
ConstructorMode(v8::Isolate* isolate)
: m_isolate(isolate)
- , m_microtaskSuppression(isolate, v8::MicrotasksScope::kDoNotRunMicrotasks)
+ , m_microtaskSuppression(isolate)
{
V8PerIsolateData* data = V8PerIsolateData::from(m_isolate);
m_previous = data->m_constructorMode;
@@ -71,7 +72,7 @@
private:
v8::Isolate* m_isolate;
bool m_previous;
- v8::MicrotasksScope m_microtaskSuppression;
+ V8RecursionScope::MicrotaskSuppression m_microtaskSuppression;
};
class V8ObjectConstructor {

Powered by Google App Engine
This is Rietveld 408576698