Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 9fca55f4f81012ca7107e2c2842cefaaf4385a0d..32bd73fe5fbc9959f402645927cdb52e5ad62df4 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -1092,7 +1092,8 @@ void FrameView::performLayout(bool inSubtreeLayout) { |
} |
m_layoutSubtreeRootList.clear(); |
} else { |
- if (hasOrthogonalWritingModeRoots()) |
+ if (hasOrthogonalWritingModeRoots() && |
+ !RuntimeEnabledFeatures::layoutNGEnabled()) |
layoutOrthogonalWritingModeRoots(); |
layoutFromRootObject(*layoutView()); |
} |