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

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

Issue 2607063002: Remove mojo::Array. (Closed)
Patch Set: rebase Created 3 years, 11 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/public/cpp/bindings/tests/pickle_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/pickle_unittest.cc b/mojo/public/cpp/bindings/tests/pickle_unittest.cc
index 39ce6b4bf311c0508e2315b7f2453a649d0aceec..a30a0718fedb920229a2d35c8d3bbcee5dea539b 100644
--- a/mojo/public/cpp/bindings/tests/pickle_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/pickle_unittest.cc
@@ -301,7 +301,7 @@ TEST_F(PickleTest, BlinkProxyToChromiumService) {
TEST_F(PickleTest, PickleArray) {
auto proxy = ConnectToChromiumService();
- auto pickles = Array<PickledStructChromium>::New(2);
+ auto pickles = std::vector<PickledStructChromium>(2);
pickles[0].set_foo(1);
pickles[0].set_bar(2);
pickles[0].set_baz(100);

Powered by Google App Engine
This is Rietveld 408576698