Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp |
index 222c27d94e6016c5e64b0a273fd9825de080d1f1..5819e2cba98c99f7152d5bff2411ad738ea89fe0 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp |
@@ -431,6 +431,8 @@ TEST_F(ScriptPromisePropertyGarbageCollectedTest, Resolve_DeadContext) { |
} |
TEST_F(ScriptPromisePropertyGarbageCollectedTest, Reset) { |
+ ScriptState::Scope scope(mainScriptState()); |
+ |
ScriptPromise oldPromise, newPromise; |
ScriptValue oldActual, newActual; |
GarbageCollectedScriptWrappable* oldValue = |