Chromium Code Reviews| Index: ppapi/proxy/ppapi_message_utils.h |
| diff --git a/ppapi/proxy/ppapi_message_utils.h b/ppapi/proxy/ppapi_message_utils.h |
| index 68667ddebd58fb693a8a2f518c75acf724659214..38f623a9f5e3d19904976f668aec9a43bd4ed981 100644 |
| --- a/ppapi/proxy/ppapi_message_utils.h |
| +++ b/ppapi/proxy/ppapi_message_utils.h |
| @@ -23,7 +23,7 @@ struct TupleTypeMatch1 { |
| static const bool kValue = false; |
| }; |
| template <class A> |
| -struct TupleTypeMatch1<Tuple1<A>, A> { |
| +struct TupleTypeMatch1<Tuple<A>, A> { |
|
Nico
2014/12/22 17:03:12
can possibly be a variadic template
|
| static const bool kValue = true; |
| }; |
| @@ -32,7 +32,7 @@ struct TupleTypeMatch2 { |
| static const bool kValue = false; |
| }; |
| template <class A, class B> |
| -struct TupleTypeMatch2<Tuple2<A, B>, A, B> { |
| +struct TupleTypeMatch2<Tuple<A, B>, A, B> { |
| static const bool kValue = true; |
| }; |
| @@ -41,7 +41,7 @@ struct TupleTypeMatch3 { |
| static const bool kValue = false; |
| }; |
| template <class A, class B, class C> |
| -struct TupleTypeMatch3<Tuple3<A, B, C>, A, B, C> { |
| +struct TupleTypeMatch3<Tuple<A, B, C>, A, B, C> { |
| static const bool kValue = true; |
| }; |
| @@ -50,7 +50,7 @@ struct TupleTypeMatch4 { |
| static const bool kValue = false; |
| }; |
| template <class A, class B, class C, class D> |
| -struct TupleTypeMatch4<Tuple4<A, B, C, D>, A, B, C, D> { |
| +struct TupleTypeMatch4<Tuple<A, B, C, D>, A, B, C, D> { |
| static const bool kValue = true; |
| }; |
| @@ -59,7 +59,7 @@ struct TupleTypeMatch5 { |
| static const bool kValue = false; |
| }; |
| template <class A, class B, class C, class D, class E> |
| -struct TupleTypeMatch5<Tuple5<A, B, C, D, E>, A, B, C, D, E> { |
| +struct TupleTypeMatch5<Tuple<A, B, C, D, E>, A, B, C, D, E> { |
| static const bool kValue = true; |
| }; |
| @@ -128,4 +128,3 @@ bool UnpackMessage(const IPC::Message& msg, A* a, B* b, C* c, D* d, E* e) { |
| } // namespace ppapi |
| #endif // PPAPI_PROXY_PPAPI_MESSAGE_UTILS_H_ |
| - |