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

Unified Diff: Source/bindings/v8/custom/V8Uint8ArrayCustom.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
Index: Source/bindings/v8/custom/V8Uint8ArrayCustom.h
diff --git a/Source/bindings/v8/custom/V8Uint8ArrayCustom.h b/Source/bindings/v8/custom/V8Uint8ArrayCustom.h
index 5776715dcf9010153d7c3cd93531e64570ad8f4d..cf35fa82b63eea9bedc14a5f70c3e17f64ff003d 100644
--- a/Source/bindings/v8/custom/V8Uint8ArrayCustom.h
+++ b/Source/bindings/v8/custom/V8Uint8ArrayCustom.h
@@ -74,15 +74,15 @@ inline v8::Handle<v8::Value> toV8(Uint8Array* impl, v8::Handle<v8::Object> creat
}
template<class CallbackInfo>
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, Uint8Array* impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, Uint8Array* impl)
{
- V8TypedArray<Uint8Array>::v8SetReturnValue(callbackInfo, impl, creationContext);
+ V8TypedArray<Uint8Array>::v8SetReturnValue(callbackInfo, impl);
}
template<class CallbackInfo>
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, Uint8Array* impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, Uint8Array* impl)
{
- V8TypedArray<Uint8Array>::v8SetReturnValueForMainWorld(callbackInfo, impl, creationContext);
+ V8TypedArray<Uint8Array>::v8SetReturnValueForMainWorld(callbackInfo, impl);
}
template<class CallbackInfo, class Wrappable>
@@ -97,15 +97,15 @@ inline v8::Handle<v8::Value> toV8(PassRefPtr< Uint8Array > impl, v8::Handle<v8::
}
template<class CallbackInfo>
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr< Uint8Array > impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr< Uint8Array > impl)
{
- v8SetReturnValue(callbackInfo, impl.get(), creationContext);
+ v8SetReturnValue(callbackInfo, impl.get());
}
template<class CallbackInfo>
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr< Uint8Array > impl, v8::Handle<v8::Object> creationContext)
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr< Uint8Array > impl)
{
- v8SetReturnValueForMainWorld(callbackInfo, impl.get(), creationContext);
+ v8SetReturnValueForMainWorld(callbackInfo, impl.get());
}
template<class CallbackInfo, class Wrappable>
« no previous file with comments | « Source/bindings/v8/custom/V8Uint32ArrayCustom.h ('k') | Source/bindings/v8/custom/V8Uint8ClampedArrayCustom.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698