Index: Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp |
index cdc97cb12422a90581f12170bdfb24d0abd7b3fc..596d8c1cb78f5e971af32f20303f95092db3ac28 100644 |
--- a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp |
+++ b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp |
@@ -64,9 +64,9 @@ |
namespace WebCore { |
-Node* InjectedScriptHost::scriptValueAsNode(ScriptState* scriptState, ScriptValue value) |
-{ |
- ScriptState::Scope scope(scriptState); |
+Node* InjectedScriptHost::scriptValueAsNode(ScriptValue value) |
+{ |
+ v8::HandleScope scope(value.isolate()); |
if (!value.isObject() || value.isNull()) |
return 0; |
return V8Node::toNative(v8::Handle<v8::Object>::Cast(value.v8Value())); |