| Index: mojo/public/cpp/bindings/lib/array_serialization.h
|
| diff --git a/mojo/public/cpp/bindings/lib/array_serialization.h b/mojo/public/cpp/bindings/lib/array_serialization.h
|
| index 7119baa921e6304f16f07313ef46cda0c9df5f3d..7c8f515a812d569c75606d4002035303d1f24dc9 100644
|
| --- a/mojo/public/cpp/bindings/lib/array_serialization.h
|
| +++ b/mojo/public/cpp/bindings/lib/array_serialization.h
|
| @@ -27,9 +27,6 @@
|
|
|
| namespace mojo {
|
|
|
| -template <typename Interface>
|
| -InterfaceRequest<Interface> MakeRequest(ScopedMessagePipeHandle handle);
|
| -
|
| namespace internal {
|
|
|
| // The ArraySerializer template contains static methods for serializing |Array|s
|
| @@ -235,7 +232,8 @@ struct ArraySerializer<InterfaceRequest<I>, MessagePipeHandle, false> {
|
| auto result = Array<InterfaceRequest<I>>::New(input->size());
|
| for (size_t i = 0; i < input->size(); ++i)
|
| result.at(i) =
|
| - MakeRequest<I>(MakeScopedHandle(FetchAndReset(&input->at(i)))).Pass();
|
| + InterfaceRequest<I>(MakeScopedHandle(FetchAndReset(&input->at(i))))
|
| + .Pass();
|
| output->Swap(&result);
|
| }
|
| };
|
|
|