Index: third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.cpp b/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.cpp |
index 2cf0502dce7dca845b16e830abe8a3ae0f3e6c28..119b7c793b69d45ff04fae13d6f678156b664ab7 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.cpp |
@@ -11,6 +11,8 @@ |
// clang-format off |
#include "DoubleOrString.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 V8DoubleOrString::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value |
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); |