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

Unified Diff: Source/bindings/v8/custom/V8Int16ArrayCustom.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/V8Float64ArrayCustom.h ('k') | Source/bindings/v8/custom/V8Int32ArrayCustom.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/custom/V8Int16ArrayCustom.h
diff --git a/Source/bindings/v8/custom/V8Int16ArrayCustom.h b/Source/bindings/v8/custom/V8Int16ArrayCustom.h
index c94b99ed298a8351ea62772959faea40fdef61b2..aebaaf8401590e1fee1481f1600578afedfd113a 100644
--- a/Source/bindings/v8/custom/V8Int16ArrayCustom.h
+++ b/Source/bindings/v8/custom/V8Int16ArrayCustom.h
@@ -74,15 +74,15 @@ inline v8::Handle<v8::Value> toV8(Int16Array* impl, v8::Handle<v8::Object> creat
}
template<class CallbackInfo>
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, Int16Array* impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, Int16Array* impl)
{
- V8TypedArray<Int16Array>::v8SetReturnValue(callbackInfo, impl, creationContext);
+ V8TypedArray<Int16Array>::v8SetReturnValue(callbackInfo, impl);
}
template<class CallbackInfo>
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, Int16Array* impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, Int16Array* impl)
{
- V8TypedArray<Int16Array>::v8SetReturnValueForMainWorld(callbackInfo, impl, creationContext);
+ V8TypedArray<Int16Array>::v8SetReturnValueForMainWorld(callbackInfo, impl);
}
template<class CallbackInfo, class Wrappable>
@@ -97,15 +97,15 @@ inline v8::Handle<v8::Value> toV8(PassRefPtr< Int16Array > impl, v8::Handle<v8::
}
template<class CallbackInfo>
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<Int16Array> impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<Int16Array> impl)
{
- v8SetReturnValue(callbackInfo, impl.get(), creationContext);
+ v8SetReturnValue(callbackInfo, impl.get());
}
template<class CallbackInfo>
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<Int16Array> impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<Int16Array> impl)
{
- v8SetReturnValueForMainWorld(callbackInfo, impl.get(), creationContext);
+ v8SetReturnValueForMainWorld(callbackInfo, impl.get());
}
template<class CallbackInfo, class Wrappable>
« no previous file with comments | « Source/bindings/v8/custom/V8Float64ArrayCustom.h ('k') | Source/bindings/v8/custom/V8Int32ArrayCustom.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698