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 7cad8c0ebcc8fdc6a4bc7fe0a288ecb33bec7b93..75c6ba903afeef9c7835f88e2b6a3184adc0f6bb 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
@@ -184,16 +184,6 @@ inline void v8SetReturnValueStringOrNull(const CallbackInfo& info, const String& |
} |
template<typename CallbackInfo> |
-inline void v8SetReturnValueStringOrUndefined(const CallbackInfo& info, const String& string, v8::Isolate* isolate) |
-{ |
- if (string.isNull()) { |
- v8SetReturnValueUndefined(info); |
- return; |
- } |
- V8PerIsolateData::from(isolate)->stringCache()->setReturnValueFromString(info.GetReturnValue(), string.impl()); |
-} |
- |
-template<typename CallbackInfo> |
inline void v8SetReturnValue(const CallbackInfo& callbackInfo, ScriptWrappable* impl, v8::Local<v8::Object> creationContext) |
{ |
if (UNLIKELY(!impl)) { |