Index: third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.h |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.h b/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.h |
index 3cc8506c965311b7002a235c2c6879051ab85700..0e9ac45be72b6362a4e03d29a51ac1b5cb681c78 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.h |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.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, UnrestrictedDoubl |
template <> |
struct NativeValueTraits<UnrestrictedDoubleOrString> { |
+ using ImplType = UnrestrictedDoubleOrString; |
CORE_EXPORT static UnrestrictedDoubleOrString nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&); |
}; |
+template <> |
+struct V8TypeOf<UnrestrictedDoubleOrString> { |
+ typedef V8UnrestrictedDoubleOrString Type; |
+}; |
+ |
} // namespace blink |
// We need to set canInitializeWithMemset=true because HeapVector supports |