Index: Source/web/WebBindings.cpp |
diff --git a/Source/web/WebBindings.cpp b/Source/web/WebBindings.cpp |
index 8bf54b01030433398cd75699d7472f18689eabfd..c2c16574c0b552f8fab0b5c8284f0bacd842b163 100644 |
--- a/Source/web/WebBindings.cpp |
+++ b/Source/web/WebBindings.cpp |
@@ -316,7 +316,7 @@ static NPObject* makeIntArrayImpl(const WebVector<int>& data, v8::Isolate* isola |
v8::HandleScope handleScope(isolate); |
v8::Handle<v8::Array> result = v8::Array::New(data.size()); |
for (size_t i = 0; i < data.size(); ++i) |
- result->Set(i, v8::Number::New(data[i])); |
+ result->Set(i, v8::Number::New(isolate, data[i])); |
DOMWindow* window = toDOMWindow(isolate->GetCurrentContext()); |
return npCreateV8ScriptObject(0, result, window); |