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

Unified Diff: content/shell/browser/shell_content_browser_client.cc

Issue 1185563002: Add --dump-line-box-trees parameter to content_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Add braces to if one-liners. Created 5 years, 6 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 | « components/test_runner/web_test_proxy.cc ('k') | content/shell/common/shell_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_content_browser_client.cc
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
index ab722f4b0c009ee804865095f42055a51388b751..a73cfdbe3bb89e4f40ba1ce8aa9f5c59329fb974 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -226,20 +226,29 @@ void ShellContentBrowserClient::AppendExtraCommandLineSwitches(
base::CommandLine* command_line,
int child_process_id) {
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kRunLayoutTest))
+ switches::kRunLayoutTest)) {
command_line->AppendSwitch(switches::kRunLayoutTest);
+ }
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableFontAntialiasing))
+ switches::kDumpLineBoxTrees)) {
+ command_line->AppendSwitch(switches::kDumpLineBoxTrees);
+ }
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableFontAntialiasing)) {
command_line->AppendSwitch(switches::kEnableFontAntialiasing);
+ }
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kExposeInternalsForTesting))
+ switches::kExposeInternalsForTesting)) {
command_line->AppendSwitch(switches::kExposeInternalsForTesting);
+ }
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kExposeIpcEcho))
+ switches::kExposeIpcEcho)) {
command_line->AppendSwitch(switches::kExposeIpcEcho);
+ }
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kStableReleaseMode))
+ switches::kStableReleaseMode)) {
command_line->AppendSwitch(switches::kStableReleaseMode);
+ }
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableCrashReporter)) {
command_line->AppendSwitch(switches::kEnableCrashReporter);
« no previous file with comments | « components/test_runner/web_test_proxy.cc ('k') | content/shell/common/shell_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698