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

Unified Diff: mojo/public/cpp/bindings/tests/validation_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/validation_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/validation_unittest.cc b/mojo/public/cpp/bindings/tests/validation_unittest.cc
index afd485bcd9753c08a89f0e76895674742f0b9ea9..7af7396d4e1d513ac307d24d041cb42682e466d3 100644
--- a/mojo/public/cpp/bindings/tests/validation_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/validation_unittest.cc
@@ -265,7 +265,7 @@ class IntegrationTestInterfaceImpl : public IntegrationTestInterface {
void Method0(BasicStructPtr param0,
const Method0Callback& callback) override {
- callback.Run(Array<uint8_t>::New(0u));
+ callback.Run(std::vector<uint8_t>());
}
};

Powered by Google App Engine
This is Rietveld 408576698