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

Unified Diff: mojo/converters/array_string/array_string_type_converters_unittest.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
Index: mojo/converters/array_string/array_string_type_converters_unittest.cc
diff --git a/mojo/converters/array_string/array_string_type_converters_unittest.cc b/mojo/converters/array_string/array_string_type_converters_unittest.cc
index a28f571bbf675c7288726008dc87a2b3c78ab84d..219f9812bb54c539241cd76bc514322441235f9e 100644
--- a/mojo/converters/array_string/array_string_type_converters_unittest.cc
+++ b/mojo/converters/array_string/array_string_type_converters_unittest.cc
@@ -12,7 +12,7 @@ namespace test {
namespace {
TEST(CommonTypeConvertersTest, ArrayUint8ToStdString) {
- Array<uint8_t> data(4);
+ auto data = Array<uint8_t>::New(4);
data[0] = 'd';
data[1] = 'a';
data[2] = 't';
« no previous file with comments | « mojo/converters/array_string/array_string_type_converters.cc ('k') | mojo/converters/surfaces/surfaces_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698