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

Unified Diff: content/browser/renderer_host/render_process_host_browsertest.cc

Issue 10778044: Always enable dom automation for browser_tests. This avoids developers having to call EnableDOMAuto… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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: content/browser/renderer_host/render_process_host_browsertest.cc
===================================================================
--- content/browser/renderer_host/render_process_host_browsertest.cc (revision 147000)
+++ content/browser/renderer_host/render_process_host_browsertest.cc (working copy)
@@ -26,9 +26,7 @@
class RenderProcessHostTest : public InProcessBrowserTest {
public:
- RenderProcessHostTest() {
- EnableDOMAutomation();
- }
+ RenderProcessHostTest() {}
int RenderProcessHostCount() {
content::RenderProcessHost::iterator hosts =
@@ -144,7 +142,6 @@
class RenderProcessHostTestWithCommandLine : public RenderProcessHostTest {
protected:
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
- InProcessBrowserTest::SetUpCommandLine(command_line);
command_line->AppendSwitchASCII(switches::kRendererProcessLimit, "1");
}
};

Powered by Google App Engine
This is Rietveld 408576698