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