Index: third_party/WebKit/Source/bindings/tests/results/core/DoubleOrLongOrBooleanSequence.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrLongOrBooleanSequence.cpp b/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrLongOrBooleanSequence.cpp |
index 5567031e70e19e5d3189dd98e2e02770edcf8ef5..07e0c024d1c62fb90b25d7764ba7f85cfa6d1f26 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrLongOrBooleanSequence.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrLongOrBooleanSequence.cpp |
@@ -69,8 +69,8 @@ void V8DoubleOrLongOrBooleanSequence::toImpl(v8::Isolate* isolate, v8::Local<v8: |
if (conversionMode == UnionTypeConversionMode::kNullable && IsUndefinedOrNull(v8Value)) |
return; |
- if (v8Value->IsArray()) { |
- HeapVector<LongOrBoolean> cppValue = ToImplArray<HeapVector<LongOrBoolean>>(v8Value, 0, isolate, exceptionState); |
+ if (IsV8Sequence(v8Value, isolate, exceptionState)) { |
+ HeapVector<LongOrBoolean> cppValue = NativeValueTraits<IDLSequence<LongOrBoolean>>::NativeValue(isolate, v8Value, exceptionState); |
if (exceptionState.HadException()) |
return; |
impl.setLongOrBooleanSequence(cppValue); |