| Index: third_party/WebKit/Source/bindings/tests/results/core/TestEnumOrDouble.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestEnumOrDouble.cpp b/third_party/WebKit/Source/bindings/tests/results/core/TestEnumOrDouble.cpp
|
| index 99885135742e54c70225e20c045415f938daa558..4b4423e9e446713e6dce96ee9d33e704f9bd5a7c 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/TestEnumOrDouble.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/TestEnumOrDouble.cpp
|
| @@ -11,6 +11,8 @@
|
| // clang-format off
|
| #include "TestEnumOrDouble.h"
|
|
|
| +#include "bindings/core/v8/IDLTypes.h"
|
| +#include "bindings/core/v8/NativeValueTraitsImpl.h"
|
| #include "bindings/core/v8/ToV8.h"
|
|
|
| namespace blink {
|
| @@ -77,7 +79,7 @@ void V8TestEnumOrDouble::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Val
|
| return;
|
|
|
| if (v8Value->IsNumber()) {
|
| - double cppValue = toRestrictedDouble(isolate, v8Value, exceptionState);
|
| + double cppValue = NativeValueTraits<IDLDouble>::nativeValue(isolate, v8Value, exceptionState);
|
| if (exceptionState.hadException())
|
| return;
|
| impl.setDouble(cppValue);
|
|
|