Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: Source/bindings/v8/custom/V8Int8ArrayCustom.h

Issue 50073004: We don't need to pass |creationContext| to v8SetReturnValue family (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/v8/custom/V8Int32ArrayCustom.h ('k') | Source/bindings/v8/custom/V8TypedArrayCustom.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/custom/V8Int8ArrayCustom.h
diff --git a/Source/bindings/v8/custom/V8Int8ArrayCustom.h b/Source/bindings/v8/custom/V8Int8ArrayCustom.h
index cca994ca539d6d8e983c4335715292c31a5042cf..8a94261df35416c864f89f9723087c03318531ce 100644
--- a/Source/bindings/v8/custom/V8Int8ArrayCustom.h
+++ b/Source/bindings/v8/custom/V8Int8ArrayCustom.h
@@ -74,15 +74,15 @@ inline v8::Handle<v8::Value> toV8(Int8Array* impl, v8::Handle<v8::Object> creati
}
template<class CallbackInfo>
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, Int8Array* impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, Int8Array* impl)
{
- V8TypedArray<Int8Array>::v8SetReturnValue(callbackInfo, impl, creationContext);
+ V8TypedArray<Int8Array>::v8SetReturnValue(callbackInfo, impl);
}
template<class CallbackInfo>
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, Int8Array* impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, Int8Array* impl)
{
- V8TypedArray<Int8Array>::v8SetReturnValueForMainWorld(callbackInfo, impl, creationContext);
+ V8TypedArray<Int8Array>::v8SetReturnValueForMainWorld(callbackInfo, impl);
}
template<class CallbackInfo, class Wrappable>
@@ -97,15 +97,15 @@ inline v8::Handle<v8::Value> toV8(PassRefPtr< Int8Array > impl, v8::Handle<v8::O
}
template<class CallbackInfo>
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<Int8Array> impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<Int8Array> impl)
{
- v8SetReturnValue(callbackInfo, impl.get(), creationContext);
+ v8SetReturnValue(callbackInfo, impl.get());
}
template<class CallbackInfo>
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<Int8Array> impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<Int8Array> impl)
{
- v8SetReturnValueForMainWorld(callbackInfo, impl.get(), creationContext);
+ v8SetReturnValueForMainWorld(callbackInfo, impl.get());
}
template<class CallbackInfo, class Wrappable>
« no previous file with comments | « Source/bindings/v8/custom/V8Int32ArrayCustom.h ('k') | Source/bindings/v8/custom/V8TypedArrayCustom.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698