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

Unified Diff: content/test/layout_browsertest.cc

Issue 16285005: Don't track whether a resize ack is pending during layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 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 | « content/renderer/render_widget.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698