| Index: third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.cpp b/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.cpp
|
| index 74e8e355b007881743f56e5f067c9bdfdc90ffc1..c11c3db3602da25c25785178f7561a3e8ecac27a 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.cpp
|
| @@ -11,6 +11,8 @@
|
| // clang-format off
|
| #include "UnrestrictedDoubleOrString.h"
|
|
|
| +#include "bindings/core/v8/IDLTypes.h"
|
| +#include "bindings/core/v8/NativeValueTraitsImpl.h"
|
| #include "bindings/core/v8/ToV8.h"
|
|
|
| namespace blink {
|
| @@ -66,7 +68,7 @@ void V8UnrestrictedDoubleOrString::toImpl(v8::Isolate* isolate, v8::Local<v8::Va
|
| return;
|
|
|
| if (v8Value->IsNumber()) {
|
| - double cppValue = toDouble(isolate, v8Value, exceptionState);
|
| + double cppValue = NativeValueTraits<IDLUnrestrictedDouble>::nativeValue(isolate, v8Value, exceptionState);
|
| if (exceptionState.hadException())
|
| return;
|
| impl.setUnrestrictedDouble(cppValue);
|
|
|