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

Unified Diff: Source/core/layout/LayoutTestHelper.cpp

Issue 1050243002: Revert Enable new multicol for testing and experimental web platform features. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/paint/DeprecatedPaintLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTestHelper.cpp
diff --git a/Source/core/layout/LayoutTestHelper.cpp b/Source/core/layout/LayoutTestHelper.cpp
index 8723df463566030ae4b6ad85f048c0348658be1a..4055ce53d74d23d4cc9b846cb4b03eeb3a44893a 100644
--- a/Source/core/layout/LayoutTestHelper.cpp
+++ b/Source/core/layout/LayoutTestHelper.cpp
@@ -35,6 +35,8 @@ void RenderingTest::SetUp()
m_pageClients.chromeClient = chromeClient;
m_pageHolder = DummyPageHolder::create(IntSize(800, 600), &m_pageClients);
+ document().settings()->setRegionBasedColumnsEnabled(true);
+
// This ensures that the minimal DOM tree gets attached
// correctly for tests that don't call setBodyInnerHTML.
document().view()->updateLayoutAndStyleIfNeededRecursive();
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/paint/DeprecatedPaintLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698