summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h')
-rw-r--r--third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h b/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h
index 10b0a1f..93e73c0 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ObjectConstructor.h
@@ -32,7 +32,6 @@
#define V8ObjectConstructor_h
#include "bindings/core/v8/V8PerIsolateData.h"
-#include "bindings/core/v8/V8RecursionScope.h"
#include "wtf/Allocator.h"
#include <v8.h>
@@ -51,7 +50,7 @@ public:
ConstructorMode(v8::Isolate* isolate)
: m_isolate(isolate)
- , m_microtaskSuppression(isolate)
+ , m_microtaskSuppression(isolate, v8::MicrotasksScope::kDoNotRunMicrotasks)
{
V8PerIsolateData* data = V8PerIsolateData::from(m_isolate);
m_previous = data->m_constructorMode;
@@ -72,7 +71,7 @@ public:
private:
v8::Isolate* m_isolate;
bool m_previous;
- V8RecursionScope::MicrotaskSuppression m_microtaskSuppression;
+ v8::MicrotasksScope m_microtaskSuppression;
};
class V8ObjectConstructor {