| 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 {
|
|
|