| Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| index 6b5d50de53616a8a45b8d8798cf9910a33761380..860cfd519d4511b13b872e4aee50edb7a42cc2e7 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| @@ -370,6 +370,13 @@ inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo,
|
| v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
|
| }
|
|
|
| +template <typename CallbackInfo, typename T>
|
| +inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo,
|
| + const v8::Local<T> handle,
|
| + const ScriptWrappable*) {
|
| + v8SetReturnValue(callbackInfo, handle);
|
| +}
|
| +
|
| // Convert v8::String to a WTF::String. If the V8 string is not already
|
| // an external string then it is transformed into an external string at this
|
| // point to avoid repeated conversions.
|
|
|