Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
index dd29fed7bae60dbf585a4a6250e217eff5ff7fa2..661fc903b763d95293c308596e3680c7354589ac 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
@@ -50,6 +50,7 @@ |
#include "core/layout/shapes/ShapeOutsideInfo.h" |
#include "core/paint/BlockFlowPaintInvalidator.h" |
#include "core/paint/PaintLayer.h" |
+#include "platform/RuntimeEnabledFeatures.h" |
#include "wtf/PtrUtil.h" |
#include <memory> |
@@ -4189,6 +4190,9 @@ LayoutMultiColumnFlowThread* LayoutBlockFlow::createMultiColumnFlowThread( |
void LayoutBlockFlow::createOrDestroyMultiColumnFlowThreadIfNeeded( |
const ComputedStyle* oldStyle) { |
+ if (RuntimeEnabledFeatures::layoutNGEnabled()) |
+ return; |
+ |
// Paged overflow trumps multicol in this implementation. Ideally, it should |
// be possible to have both paged overflow and multicol on the same element, |
// but then we need two flow threads. Anyway, this is nothing to worry about |