| Index: third_party/WebKit/Source/bindings/tests/results/core/ElementSequenceOrByteStringDoubleOrStringRecord.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/ElementSequenceOrByteStringDoubleOrStringRecord.cpp b/third_party/WebKit/Source/bindings/tests/results/core/ElementSequenceOrByteStringDoubleOrStringRecord.cpp
|
| index d22c06f7f295898b789d0feea04c3de0327fd681..9f76fd9607a2f14b884216bccd0d0ab86ff822a3 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/ElementSequenceOrByteStringDoubleOrStringRecord.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/ElementSequenceOrByteStringDoubleOrStringRecord.cpp
|
| @@ -76,8 +76,8 @@ void V8ElementSequenceOrByteStringDoubleOrStringRecord::toImpl(v8::Isolate* isol
|
| if (conversionMode == UnionTypeConversionMode::kNullable && IsUndefinedOrNull(v8Value))
|
| return;
|
|
|
| - if (v8Value->IsArray()) {
|
| - HeapVector<Member<Element>> cppValue = ToMemberNativeArray<Element>(v8Value, 0, isolate, exceptionState);
|
| + if (IsV8Sequence(isolate, v8Value, exceptionState)) {
|
| + HeapVector<Member<Element>> cppValue = NativeValueTraits<IDLSequence<Element>>::NativeValue(isolate, v8Value, exceptionState);
|
| if (exceptionState.HadException())
|
| return;
|
| impl.setElementSequence(cppValue);
|
|
|