Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.h |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.h b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.h |
index 7a7319c7b269a121b5065cc1e5c8729f2ba795de..ec4a36051dd29614335f09e6665043e219d88bbe 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.h |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.h |
@@ -29,11 +29,16 @@ class V8TestDictionaryDerivedImplementedAs { |
CORE_EXPORT bool toV8TestDictionaryDerivedImplementedAs(const TestDictionaryDerivedImplementedAs&, v8::Local<v8::Object> dictionary, v8::Local<v8::Object> creationContext, v8::Isolate*); |
-template<class CallbackInfo> |
+template <class CallbackInfo> |
inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionaryDerivedImplementedAs& impl) { |
v8SetReturnValue(callbackInfo, ToV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate())); |
} |
+template <class CallbackInfo> |
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionaryDerivedImplementedAs& impl, v8::Local<v8::Object> creationContext) { |
+ v8SetReturnValue(callbackInfo, ToV8(impl, creationContext, callbackInfo.GetIsolate())); |
+} |
+ |
template <> |
struct NativeValueTraits<TestDictionaryDerivedImplementedAs> { |
static TestDictionaryDerivedImplementedAs nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&); |