Index: third_party/WebKit/Source/bindings/tests/results/core/DoubleOrStringOrDoubleOrStringSequence.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrStringOrDoubleOrStringSequence.cpp b/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrStringOrDoubleOrStringSequence.cpp |
index 484c4b32c222044ebf566776aeed19cd104916be..ea40b231fd386f0fea830439cba92df4e09fefd0 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrStringOrDoubleOrStringSequence.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrStringOrDoubleOrStringSequence.cpp |
@@ -86,8 +86,8 @@ void V8DoubleOrStringOrDoubleOrStringSequence::toImpl(v8::Isolate* isolate, v8:: |
if (conversionMode == UnionTypeConversionMode::kNullable && IsUndefinedOrNull(v8Value)) |
return; |
- if (v8Value->IsArray()) { |
- HeapVector<DoubleOrString> cppValue = ToImplArray<HeapVector<DoubleOrString>>(v8Value, 0, isolate, exceptionState); |
+ if (IsV8Sequence(v8Value, isolate, exceptionState)) { |
+ HeapVector<DoubleOrString> cppValue = NativeValueTraits<IDLSequence<DoubleOrString>>::NativeValue(isolate, v8Value, exceptionState); |
if (exceptionState.HadException()) |
return; |
impl.setDoubleOrStringSequence(cppValue); |