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