Index: third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.h |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.h b/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.h |
index 4e24e6e52f0097a2c2c7d2aec9c379b4197134a4..8938fb0ccf1aeaa1cb911d4b406dda9206e4990c 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.h |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.h |
@@ -67,6 +67,11 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, DoubleOrString& i |
v8SetReturnValue(callbackInfo, ToV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate())); |
} |
+template <class CallbackInfo> |
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, DoubleOrString& impl, v8::Local<v8::Object> creationContext) { |
+ v8SetReturnValue(callbackInfo, ToV8(impl, creationContext, callbackInfo.GetIsolate())); |
+} |
+ |
template <> |
struct NativeValueTraits<DoubleOrString> { |
CORE_EXPORT static DoubleOrString nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&); |