summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-22 18:24:37 +0000
committerrbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-22 18:24:37 +0000
commit69e9a77eb74f95499a082ac8de9191ca04c459be (patch)
treeaaf4a8159a619e13f036a1fb262394f7ee6f35f7
parent7d1bf0e3bb14d2439c5c58b7ceb98c1d31622573 (diff)
downloadchromium_src-69e9a77eb74f95499a082ac8de9191ca04c459be.zip
chromium_src-69e9a77eb74f95499a082ac8de9191ca04c459be.tar.gz
chromium_src-69e9a77eb74f95499a082ac8de9191ca04c459be.tar.bz2
Fix --expose-internals-for-testing switch when running multi-process.
Apparently I only tested this switch when running with --single-process (common for debugging). It really should be forwarded to renderers. This means the switch definition nedds to move back to the public content layer, even though it's only content shell that can actually take advantage of it. BUG=None Review URL: https://chromiumcodereview.appspot.com/19763009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212919 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--content/shell/shell_content_browser_client.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc
index 2b9b06e..af24c16 100644
--- a/content/shell/shell_content_browser_client.cc
+++ b/content/shell/shell_content_browser_client.cc
@@ -145,6 +145,9 @@ void ShellContentBrowserClient::AppendExtraCommandLineSwitches(
CommandLine* command_line, int child_process_id) {
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree))
command_line->AppendSwitch(switches::kDumpRenderTree);
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kExposeInternalsForTesting))
+ command_line->AppendSwitch(switches::kExposeInternalsForTesting);
}
void ShellContentBrowserClient::OverrideWebkitPrefs(