Index: content/test/layout_browsertest.cc |
diff --git a/content/test/layout_browsertest.cc b/content/test/layout_browsertest.cc |
index d2a2fd25ea7e7fa7d02095f0f4f565a9aa82b56a..d6aeb25c35cb57c90ee8b10584494aee1a49fc13 100644 |
--- a/content/test/layout_browsertest.cc |
+++ b/content/test/layout_browsertest.cc |
@@ -19,6 +19,7 @@ |
#include "content/browser/web_contents/web_contents_impl.h" |
#include "content/public/common/content_paths.h" |
#include "content/public/test/browser_test_utils.h" |
+#include "content/public/test/layouttest_support.h" |
#include "content/shell/common/shell_switches.h" |
#include "content/shell/shell.h" |
#include "content/shell/webkit_test_controller.h" |
@@ -78,6 +79,8 @@ InProcessBrowserLayoutTest::~InProcessBrowserLayoutTest() { |
} |
void InProcessBrowserLayoutTest::SetUpInProcessBrowserTestFixture() { |
+ EnableBrowserLayoutTestMode(); |
+ |
base::FilePath src_dir; |
ASSERT_TRUE(PathService::Get(DIR_LAYOUT_TESTS, &src_dir)); |
base::FilePath absolute_parent_dir = src_dir.Append(test_parent_dir_); |