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 6467be889ee54c1041b70130102865643e56b000..1ccd2a5f08219c903d37bfc9a11d1044150bb027 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestEnumOrDouble.h |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestEnumOrDouble.h |
@@ -67,6 +67,11 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestEnumOrDouble& |
v8SetReturnValue(callbackInfo, ToV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate())); |
} |
+template <class CallbackInfo> |
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestEnumOrDouble& impl, v8::Local<v8::Object> creationContext) { |
+ v8SetReturnValue(callbackInfo, ToV8(impl, creationContext, callbackInfo.GetIsolate())); |
+} |
+ |
template <> |
struct NativeValueTraits<TestEnumOrDouble> { |
CORE_EXPORT static TestEnumOrDouble nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&); |