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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2666663002: Avoid double layout for writing mode roots if LayoutNG is enabled (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698