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

Unified Diff: ppapi/host/dispatch_host_message.h

Issue 12567028: Apps V2 in Pepper: Host side implementation of ExntensionsCommon - Part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: ppapi/host/dispatch_host_message.h
diff --git a/ppapi/host/dispatch_host_message.h b/ppapi/host/dispatch_host_message.h
index b9e57dc62f662678c5d564be5e8ea3fcaa6b775b..24987259ebc46220648fb2209017d3b6f168bc9f 100644
--- a/ppapi/host/dispatch_host_message.h
+++ b/ppapi/host/dispatch_host_message.h
@@ -22,42 +22,42 @@ struct HostMessageContext;
template <class ObjT, class Method>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- const Tuple0& arg) {
+ Tuple0& arg) {
return (obj->*method)(context);
}
template <class ObjT, class Method, class A>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- const Tuple1<A>& arg) {
+ Tuple1<A>& arg) {
return (obj->*method)(context, arg.a);
}
template<class ObjT, class Method, class A, class B>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- const Tuple2<A, B>& arg) {
+ Tuple2<A, B>& arg) {
return (obj->*method)(context, arg.a, arg.b);
}
template<class ObjT, class Method, class A, class B, class C>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- const Tuple3<A, B, C>& arg) {
+ Tuple3<A, B, C>& arg) {
return (obj->*method)(context, arg.a, arg.b, arg.c);
}
template<class ObjT, class Method, class A, class B, class C, class D>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- const Tuple4<A, B, C, D>& arg) {
+ Tuple4<A, B, C, D>& arg) {
return (obj->*method)(context, arg.a, arg.b, arg.c, arg.d);
}
template<class ObjT, class Method, class A, class B, class C, class D, class E>
inline int32_t DispatchResourceCall(ObjT* obj, Method method,
HostMessageContext* context,
- const Tuple5<A, B, C, D, E>& arg) {
+ Tuple5<A, B, C, D, E>& arg) {
return (obj->*method)(context, arg.a, arg.b, arg.c, arg.d, arg.e);
}

Powered by Google App Engine
This is Rietveld 408576698