Index: Source/bindings/templates/attributes.cpp |
diff --git a/Source/bindings/templates/attributes.cpp b/Source/bindings/templates/attributes.cpp |
index e870db8d3ebba3a3228ec98feb5f6baafc03ffcf..fb47f713b7ca83954f0f3c7da0c581842dd71d21 100644 |
--- a/Source/bindings/templates/attributes.cpp |
+++ b/Source/bindings/templates/attributes.cpp |
@@ -345,6 +345,7 @@ bool {{v8_class}}::{{attribute.name}}AttributeGetterImplementedInPrivateScript(L |
{ |
if (!frame) |
return false; |
+ v8::HandleScope handleScope(toIsolate(frame)); |
v8::Handle<v8::Context> context = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld()); |
if (context.IsEmpty()) |
return false; |
@@ -379,6 +380,7 @@ bool {{v8_class}}::{{attribute.name}}AttributeSetterImplementedInPrivateScript(L |
{ |
if (!frame) |
return false; |
+ v8::HandleScope handleScope(toIsolate(frame)); |
v8::Handle<v8::Context> context = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld()); |
if (context.IsEmpty()) |
return false; |