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

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

Powered by Google App Engine
This is Rietveld 408576698