Index: content/public/test/browser_test_base.cc |
diff --git a/content/public/test/browser_test_base.cc b/content/public/test/browser_test_base.cc |
index 1124adabbe2e87a488bc29f6c6a154667c3fae77..c1cfd7021dc0358692e0be0055d93c1f9a8c2a93 100644 |
--- a/content/public/test/browser_test_base.cc |
+++ b/content/public/test/browser_test_base.cc |
@@ -10,6 +10,7 @@ |
#include "base/process_util.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/main_function_params.h" |
+#include "content/public/test/test_launcher_utils.h" |
#if defined(OS_MACOSX) |
#include "base/mac/mac_util.h" |
@@ -56,6 +57,9 @@ BrowserTestBase::~BrowserTestBase() { |
void BrowserTestBase::SetUp() { |
CommandLine* command_line = CommandLine::ForCurrentProcess(); |
+ // common command line preparation for tests |
+ PrepareBrowserCommandLineForTests(command_line); |
+ |
// The tests assume that file:// URIs can freely access other file:// URIs. |
command_line->AppendSwitch(switches::kAllowFileAccessFromFiles); |