Index: mojo/public/cpp/bindings/array_traits.h |
diff --git a/mojo/public/cpp/bindings/array_traits.h b/mojo/public/cpp/bindings/array_traits.h |
index f94648bdaa27ca07a5a75f8389a202c9cc2ba671..16e57ffe14f68f26d0a38729adab0fd9e97536ff 100644 |
--- a/mojo/public/cpp/bindings/array_traits.h |
+++ b/mojo/public/cpp/bindings/array_traits.h |
@@ -32,7 +32,9 @@ namespace mojo { |
// static T& GetAt(CustomArray<T>& input, size_t index); |
// static const T& GetAt(const CustomArray<T>& input, size_t index); |
// |
-// static void Resize(CustomArray<T>& input, size_t size); |
+// Returning false results in deserialization failure and causes the message |
+// pipe receiving it to be disconnected. |
+// static bool Resize(CustomArray<T>& input, size_t size); |
// }; |
// |
template <typename T> |