| Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp
|
| index 73b38ba071b29bdf62a51d83ba4b120527baee5a..b272be5db75bdac6a32f4347b749f33340cc667d 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp
|
| @@ -36,6 +36,7 @@
|
| #include "bindings/core/v8/V8BindingForTesting.h"
|
| #include "core/dom/DOMException.h"
|
| #include "core/dom/ExceptionCode.h"
|
| +#include "core/testing/NullExecutionContext.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include <v8.h>
|
|
|
| @@ -75,6 +76,7 @@ public:
|
| ScriptPromiseTest()
|
| : m_scope(v8::Isolate::GetCurrent())
|
| {
|
| + m_scope.getScriptState()->setExecutionContext(new NullExecutionContext());
|
| }
|
|
|
| ~ScriptPromiseTest()
|
|
|