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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp

Issue 2296973003: Fix removeChildNode to unmark orthogonal writing mode roots when !notifyLayoutObject (Closed)
Patch Set: Created 4 years, 4 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 | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | 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/layout/LayoutObjectChildList.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp
index 2a2a6969f3dfa5fd43d236c5086e6d25a162d286..fc3084ca5805268e22b9afaf5133a99dc4495b19 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp
@@ -84,6 +84,8 @@ LayoutObject* LayoutObjectChildList::removeChildNode(LayoutObject* owner, Layout
if (notifyLayoutObject) {
LayoutCounter::layoutObjectSubtreeWillBeDetached(oldChild);
oldChild->willBeRemovedFromTree();
+ } else if (oldChild->isBox() && toLayoutBox(oldChild)->isOrthogonalWritingModeRoot()) {
+ toLayoutBox(oldChild)->unmarkOrthogonalWritingModeRoot();
}
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698