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

Unified Diff: chrome/common/logging_chrome_uitest.cc

Issue 18248: CommandLine API rework (Closed)
Patch Set: fixes Created 11 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
« no previous file with comments | « chrome/common/l10n_util.cc ('k') | chrome/common/main_function_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/logging_chrome_uitest.cc
diff --git a/chrome/common/logging_chrome_uitest.cc b/chrome/common/logging_chrome_uitest.cc
index f1a121cf2ddf36051b5a4e67f1d761d3dffe161f..b88deb69ab164f8e9124e907433adc02770ba7eb 100644
--- a/chrome/common/logging_chrome_uitest.cc
+++ b/chrome/common/logging_chrome_uitest.cc
@@ -72,8 +72,7 @@ class AssertionTest : public UITest {
// We're testing the renderer rather than the browser assertion here,
// because the browser assertion would flunk the test during SetUp()
// (since TAU wouldn't be able to find the browser window).
- CommandLine::AppendSwitch(&launch_arguments_,
- switches::kRendererAssertTest);
+ launch_arguments_.AppendSwitch(switches::kRendererAssertTest);
}
};
@@ -98,8 +97,7 @@ class RendererCrashTest : public UITest {
// Initial loads will never complete due to crash.
wait_for_initial_loads_ = false;
- CommandLine::AppendSwitch(&launch_arguments_,
- switches::kRendererCrashTest);
+ launch_arguments_.AppendSwitch(switches::kRendererCrashTest);
}
};
@@ -123,8 +121,7 @@ class BrowserCrashTest : public UITest {
// Initial loads will never complete due to crash.
wait_for_initial_loads_ = false;
- CommandLine::AppendSwitch(&launch_arguments_,
- switches::kBrowserCrashTest);
+ launch_arguments_.AppendSwitch(switches::kBrowserCrashTest);
}
};
« no previous file with comments | « chrome/common/l10n_util.cc ('k') | chrome/common/main_function_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698