| Index: third_party/WebKit/Source/bindings/tests/results/core/LongSequenceOrEvent.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/LongSequenceOrEvent.cpp b/third_party/WebKit/Source/bindings/tests/results/core/LongSequenceOrEvent.cpp
|
| index f54f01a5b90e0bc616250fb58926f8de8eac3557..61eabcb80964f8030be60286e7a7e6e6a318cacf 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/LongSequenceOrEvent.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/LongSequenceOrEvent.cpp
|
| @@ -75,8 +75,8 @@ void V8LongSequenceOrEvent::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8
|
| return;
|
| }
|
|
|
| - if (v8Value->IsArray()) {
|
| - Vector<int32_t> cppValue = ToImplArray<Vector<int32_t>, IDLLong>(v8Value, 0, isolate, exceptionState);
|
| + if (IsV8Sequence(isolate, v8Value, exceptionState)) {
|
| + Vector<int32_t> cppValue = NativeValueTraits<IDLSequence<IDLLong>>::NativeValue(isolate, v8Value, exceptionState);
|
| if (exceptionState.HadException())
|
| return;
|
| impl.setLongSequence(cppValue);
|
|
|