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