summaryrefslogtreecommitdiff
path: root/Source/WebCore/bindings/v8/custom/V8Int32ArrayCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/v8/custom/V8Int32ArrayCustom.cpp')
-rw-r--r--Source/WebCore/bindings/v8/custom/V8Int32ArrayCustom.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebCore/bindings/v8/custom/V8Int32ArrayCustom.cpp b/Source/WebCore/bindings/v8/custom/V8Int32ArrayCustom.cpp
index 8fa38a76f..42945c077 100644
--- a/Source/WebCore/bindings/v8/custom/V8Int32ArrayCustom.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8Int32ArrayCustom.cpp
@@ -29,8 +29,8 @@
*/
#include "config.h"
-#include "ArrayBuffer.h"
-#include "Int32Array.h"
+#include <wtf/ArrayBuffer.h>
+#include <wtf/Int32Array.h>
#include "V8Binding.h"
#include "V8ArrayBuffer.h"
@@ -53,11 +53,11 @@ v8::Handle<v8::Value> V8Int32Array::setCallback(const v8::Arguments& args)
return setWebGLArrayHelper<Int32Array, V8Int32Array>(args);
}
-v8::Handle<v8::Value> toV8(Int32Array* impl)
+v8::Handle<v8::Value> toV8(Int32Array* impl, v8::Isolate* isolate)
{
if (!impl)
return v8::Null();
- v8::Handle<v8::Object> wrapper = V8Int32Array::wrap(impl);
+ v8::Handle<v8::Object> wrapper = V8Int32Array::wrap(impl, isolate);
if (!wrapper.IsEmpty())
wrapper->SetIndexedPropertiesToExternalArrayData(impl->baseAddress(), v8::kExternalIntArray, impl->length());
return wrapper;