Index: Source/bindings/v8/ScriptValue.cpp |
diff --git a/Source/bindings/v8/ScriptValue.cpp b/Source/bindings/v8/ScriptValue.cpp |
index 6a2e35355277eb416f79777cdcb5b42d1ea62ba9..4926ed9a811a0fe6517f7957b16b70800269dfba 100644 |
--- a/Source/bindings/v8/ScriptValue.cpp |
+++ b/Source/bindings/v8/ScriptValue.cpp |
@@ -62,12 +62,12 @@ ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptV |
return ScriptValue(value->deserialize(), scriptState->isolate()); |
} |
-bool ScriptValue::getString(String& result, v8::Isolate* isolate) const |
+bool ScriptValue::getString(String& result) const |
{ |
if (hasNoValue()) |
return false; |
- v8::HandleScope handleScope(isolate); |
+ v8::HandleScope handleScope(m_isolate); |
v8::Handle<v8::Value> string = v8Value(); |
if (string.IsEmpty() || !string->IsString()) |
return false; |
@@ -75,7 +75,7 @@ bool ScriptValue::getString(String& result, v8::Isolate* isolate) const |
return true; |
} |
-String ScriptValue::toString(ScriptState*) const |
+String ScriptValue::toString() const |
{ |
v8::TryCatch block; |
v8::Handle<v8::String> string = v8Value()->ToString(); |