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

Unified Diff: mojo/public/cpp/bindings/tests/versioning_apptest.cc

Issue 1397133002: Remove callers of mojo::Array<size_t> constructor in favor of ::New (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « mojo/public/cpp/bindings/tests/union_unittest.cc ('k') | mojo/services/files/public/c/lib/file_fd_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/versioning_apptest.cc
diff --git a/mojo/public/cpp/bindings/tests/versioning_apptest.cc b/mojo/public/cpp/bindings/tests/versioning_apptest.cc
index 39372729cc0d13af6dac0ab24fe128e0f6003a49..d3f111a3a13e17ad66c9d7738a2f051dc20e0bab 100644
--- a/mojo/public/cpp/bindings/tests/versioning_apptest.cc
+++ b/mojo/public/cpp/bindings/tests/versioning_apptest.cc
@@ -98,7 +98,7 @@ TEST_F(VersioningApplicationTest, RequireVersion) {
TEST_F(VersioningApplicationTest, CallNonexistentMethod) {
EXPECT_EQ(0u, database_.version());
- Array<uint8_t> new_finger_print(128);
+ auto new_finger_print = Array<uint8_t>::New(128);
for (size_t i = 0; i < 128; ++i)
new_finger_print[i] = i + 13;
« no previous file with comments | « mojo/public/cpp/bindings/tests/union_unittest.cc ('k') | mojo/services/files/public/c/lib/file_fd_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698