Index: Source/bindings/v8/ScriptState.h |
diff --git a/Source/bindings/v8/ScriptState.h b/Source/bindings/v8/ScriptState.h |
index 16a4a4a5ccbc16338997adda8e4a8896f34b2b53..b6f7e37914e3771aaacc3def141d37205dc37e42 100644 |
--- a/Source/bindings/v8/ScriptState.h |
+++ b/Source/bindings/v8/ScriptState.h |
@@ -109,7 +109,7 @@ public: |
ScriptStateProtectedPtr(ScriptState* scriptState) |
: m_scriptState(scriptState) |
{ |
- v8::HandleScope handleScope; |
+ v8::HandleScope handleScope(scriptState->isolate()); |
// Keep the context from being GC'ed. ScriptState is guaranteed to be live while the context is live. |
m_context.set(scriptState->isolate(), scriptState->context()); |
} |