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

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

Powered by Google App Engine
This is Rietveld 408576698