| Index: ppapi/host/dispatch_host_message.h
|
| diff --git a/ppapi/host/dispatch_host_message.h b/ppapi/host/dispatch_host_message.h
|
| index 80b8a343a7f3e1cbdc748fffc503f0e1295bf44e..5d05019cd0e3e277b12de9a51274ea3735c3e628 100644
|
| --- a/ppapi/host/dispatch_host_message.h
|
| +++ b/ppapi/host/dispatch_host_message.h
|
| @@ -22,45 +22,47 @@ struct HostMessageContext;
|
| template <class ObjT, class Method>
|
| inline int32_t DispatchResourceCall(ObjT* obj, Method method,
|
| HostMessageContext* context,
|
| - Tuple<>& arg) {
|
| + base::Tuple<>& arg) {
|
| return (obj->*method)(context);
|
| }
|
|
|
| template <class ObjT, class Method, class A>
|
| inline int32_t DispatchResourceCall(ObjT* obj, Method method,
|
| HostMessageContext* context,
|
| - Tuple<A>& arg) {
|
| - return (obj->*method)(context, get<0>(arg));
|
| + base::Tuple<A>& arg) {
|
| + return (obj->*method)(context, base::get<0>(arg));
|
| }
|
|
|
| template<class ObjT, class Method, class A, class B>
|
| inline int32_t DispatchResourceCall(ObjT* obj, Method method,
|
| HostMessageContext* context,
|
| - Tuple<A, B>& arg) {
|
| - return (obj->*method)(context, get<0>(arg), get<1>(arg));
|
| + base::Tuple<A, B>& arg) {
|
| + return (obj->*method)(context, base::get<0>(arg), base::get<1>(arg));
|
| }
|
|
|
| template<class ObjT, class Method, class A, class B, class C>
|
| inline int32_t DispatchResourceCall(ObjT* obj, Method method,
|
| HostMessageContext* context,
|
| - Tuple<A, B, C>& arg) {
|
| - return (obj->*method)(context, get<0>(arg), get<1>(arg), get<2>(arg));
|
| + base::Tuple<A, B, C>& arg) {
|
| + return (obj->*method)(context, base::get<0>(arg), base::get<1>(arg),
|
| + base::get<2>(arg));
|
| }
|
|
|
| template<class ObjT, class Method, class A, class B, class C, class D>
|
| inline int32_t DispatchResourceCall(ObjT* obj, Method method,
|
| HostMessageContext* context,
|
| - Tuple<A, B, C, D>& arg) {
|
| - return (obj->*method)(context, get<0>(arg), get<1>(arg), get<2>(arg),
|
| - get<3>(arg));
|
| + base::Tuple<A, B, C, D>& arg) {
|
| + return (obj->*method)(context, base::get<0>(arg), base::get<1>(arg),
|
| + base::get<2>(arg), base::get<3>(arg));
|
| }
|
|
|
| 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,
|
| - Tuple<A, B, C, D, E>& arg) {
|
| - return (obj->*method)(context, get<0>(arg), get<1>(arg), get<2>(arg),
|
| - get<3>(arg), get<4>(arg));
|
| + base::Tuple<A, B, C, D, E>& arg) {
|
| + return (obj->*method)(context, base::get<0>(arg), base::get<1>(arg),
|
| + base::get<2>(arg), base::get<3>(arg),
|
| + base::get<4>(arg));
|
| }
|
|
|
| // Note that this only works for message with 1 or more parameters. For
|
|
|