Index: mojo/public/cpp/bindings/lib/bindings_serialization.h |
diff --git a/mojo/public/cpp/bindings/lib/bindings_serialization.h b/mojo/public/cpp/bindings/lib/bindings_serialization.h |
index c99f69f6bcea90c60716a3d88d1f361ea9baa81d..9b0f70b240ad9b083a902aacb6741944f0d7e3b1 100644 |
--- a/mojo/public/cpp/bindings/lib/bindings_serialization.h |
+++ b/mojo/public/cpp/bindings/lib/bindings_serialization.h |
@@ -79,7 +79,7 @@ inline void Decode(T* obj, std::vector<Handle>* handles) { |
template <typename T> |
inline void InterfacePointerToData(InterfacePtr<T> input, |
Interface_Data* output) { |
- InterfaceHandle<T> info = input.PassInterface(); |
+ InterfaceHandle<T> info = input.PassInterfaceHandle(); |
output->handle = info.PassHandle().release(); |
output->version = info.version(); |
} |