summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/bindings/v8/ArrayValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/bindings/v8/ArrayValue.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/bindings/v8/ArrayValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/WebKit/Source/bindings/v8/ArrayValue.cpp b/chromium/third_party/WebKit/Source/bindings/v8/ArrayValue.cpp
index 1280548b9f6..065fd2f8815 100644
--- a/chromium/third_party/WebKit/Source/bindings/v8/ArrayValue.cpp
+++ b/chromium/third_party/WebKit/Source/bindings/v8/ArrayValue.cpp
@@ -62,7 +62,7 @@ bool ArrayValue::get(size_t index, Dictionary& value) const
ASSERT(m_isolate);
ASSERT(m_isolate == v8::Isolate::GetCurrent());
- v8::Local<v8::Value> indexedValue = m_array->Get(v8::Integer::NewFromUnsigned(index, m_isolate));
+ v8::Local<v8::Value> indexedValue = m_array->Get(v8::Integer::NewFromUnsigned(m_isolate, index));
if (indexedValue.IsEmpty() || !indexedValue->IsObject())
return false;