Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: mojo/public/cpp/bindings/array_traits.h

Issue 2045723002: mojo ArrayTraits<T>::Resize returns bool indicating success (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/common/mailbox_struct_traits.cc ('k') | mojo/public/cpp/bindings/array_traits_standard.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f7e22125adc9d1e8c034bede7026c05765c88492 100644
--- a/mojo/public/cpp/bindings/array_traits.h
+++ b/mojo/public/cpp/bindings/array_traits.h
@@ -32,7 +32,7 @@ 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);
+// static bool Resize(CustomArray<T>& input, size_t size);
yzshen1 2016/06/06 21:00:06 Please consider adding comment: Returning false re
Fady Samuel 2016/06/06 22:52:09 Done.
// };
//
template <typename T>
« no previous file with comments | « gpu/ipc/common/mailbox_struct_traits.cc ('k') | mojo/public/cpp/bindings/array_traits_standard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698