| Index: Source/web/WebBindings.cpp
|
| diff --git a/Source/web/WebBindings.cpp b/Source/web/WebBindings.cpp
|
| index 73966839e3ce2fd97c0f062224b5856beec8a6e0..32d9654cc8d0e555ce2e8457d540fb0df0567580 100644
|
| --- a/Source/web/WebBindings.cpp
|
| +++ b/Source/web/WebBindings.cpp
|
| @@ -325,7 +325,7 @@ static NPObject* makeIntArrayImpl(const WebVector<int>& data, v8::Isolate* isola
|
| result->Set(i, v8::Number::New(isolate, data[i]));
|
|
|
| DOMWindow* window = currentDOMWindow(isolate);
|
| - return npCreateV8ScriptObject(0, result, window, isolate);
|
| + return npCreateV8ScriptValue(0, result, window, isolate);
|
| }
|
|
|
| static NPObject* makeStringArrayImpl(const WebVector<WebString>& data, v8::Isolate* isolate)
|
| @@ -336,7 +336,7 @@ static NPObject* makeStringArrayImpl(const WebVector<WebString>& data, v8::Isola
|
| result->Set(i, v8String(isolate, data[i]));
|
|
|
| DOMWindow* window = currentDOMWindow(isolate);
|
| - return npCreateV8ScriptObject(0, result, window, isolate);
|
| + return npCreateV8ScriptValue(0, result, window, isolate);
|
| }
|
|
|
| bool WebBindings::getRange(NPObject* range, WebRange* webRange)
|
|
|