Index: third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.h |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.h b/third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.h |
index 9836e21c4ffadce160b47f126989c3cc1622bc5e..c0379ae16ee0d07e5c42bdcc28a33c783274b56d 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.h |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.h |
@@ -14,6 +14,7 @@ |
#include "bindings/core/v8/Dictionary.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/NativeValueTraits.h" |
#include "bindings/core/v8/V8Binding.h" |
#include "core/CoreExport.h" |
#include "platform/heap/Handle.h" |
@@ -74,9 +75,15 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, StringOrDouble& i |
template <> |
struct NativeValueTraits<StringOrDouble> { |
+ using ImplType = StringOrDouble; |
CORE_EXPORT static StringOrDouble nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&); |
}; |
+template <> |
+struct V8TypeOf<StringOrDouble> { |
+ typedef V8StringOrDouble Type; |
+}; |
+ |
} // namespace blink |
// We need to set canInitializeWithMemset=true because HeapVector supports |