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

Unified Diff: mojo/application/application_test_base_chromium.cc

Issue 1143793003: Remove application-specific args from Mandoline's shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/application/application_test_base_chromium.cc
diff --git a/mojo/application/application_test_base_chromium.cc b/mojo/application/application_test_base_chromium.cc
index bb9afa14247b80a7062ec893c95aa5432b8bb1c4..2f2ab348e88aabff496bba7823e4646d69676b32 100644
--- a/mojo/application/application_test_base_chromium.cc
+++ b/mojo/application/application_test_base_chromium.cc
@@ -41,7 +41,6 @@ class ShellGrabber : public Application {
private:
// Application implementation.
void Initialize(ShellPtr shell,
- Array<String> args,
const mojo::String& url) override {
msw 2015/05/19 17:45:27 nit: fits on line above.
jam 2015/05/19 20:56:36 Done.
g_url = url;
g_application_request = binding_.Unbind();
@@ -127,9 +126,8 @@ void ApplicationTestBase::SetUp() {
application_impl_ = new ApplicationImpl(GetApplicationDelegate(),
g_application_request.Pass());
- // Fake application initialization with the given command line arguments.
- Array<String> empty_args;
- application_impl_->Initialize(g_shell.Pass(), empty_args.Clone(), g_url);
+ // Fake application initialization.
+ application_impl_->Initialize(g_shell.Pass(), g_url);
}
void ApplicationTestBase::TearDown() {

Powered by Google App Engine
This is Rietveld 408576698