Index: Source/bindings/v8/ScriptValue.cpp |
diff --git a/Source/bindings/v8/ScriptValue.cpp b/Source/bindings/v8/ScriptValue.cpp |
index f3daf52201b72d78d9f026b1d079ce49248fbae1..04b2287f9c22479cfd88d70863dead07386251cc 100644 |
--- a/Source/bindings/v8/ScriptValue.cpp |
+++ b/Source/bindings/v8/ScriptValue.cpp |
@@ -51,7 +51,7 @@ bool ScriptValue::getString(String& result) const |
v8::Handle<v8::Value> string = v8Value(); |
if (string.IsEmpty() || !string->IsString()) |
return false; |
- result = toWebCoreString(string.As<v8::String>()); |
+ result = toCoreString(string.As<v8::String>()); |
return true; |
} |
@@ -82,7 +82,7 @@ static PassRefPtr<JSONValue> v8ToJSONValue(v8::Handle<v8::Value> value, int maxD |
if (value->IsNumber()) |
return JSONBasicValue::create(value->NumberValue()); |
if (value->IsString()) |
- return JSONString::create(toWebCoreString(value.As<v8::String>())); |
+ return JSONString::create(toCoreString(value.As<v8::String>())); |
if (value->IsArray()) { |
v8::Handle<v8::Array> array = v8::Handle<v8::Array>::Cast(value); |
RefPtr<JSONArray> inspectorArray = JSONArray::create(); |