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

Unified Diff: Source/core/layout/LayoutBlock.h

Issue 922173002: Don't pass semi-detached renderers to the flow thread (or anyone else). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review - make a helper method. Created 5 years, 10 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
Index: Source/core/layout/LayoutBlock.h
diff --git a/Source/core/layout/LayoutBlock.h b/Source/core/layout/LayoutBlock.h
index 234498131e3dbd39f2d6f6571193f418a53609d8..bf93c6a5d746159d0e971bffe76c3b16fa679ade 100644
--- a/Source/core/layout/LayoutBlock.h
+++ b/Source/core/layout/LayoutBlock.h
@@ -332,6 +332,10 @@ private:
virtual bool isLayoutBlock() const override final { return true; }
void makeChildrenNonInline(LayoutObject* insertionPoint = 0);
+
+ // Promote all children and make them siblings that come right after this block.
+ void promoteAllChildrenAndInsertAfter();
+
virtual void removeLeftoverAnonymousBlock(LayoutBlock* child);
static void collapseAnonymousBlockChild(LayoutBlock* parent, LayoutBlock* child);

Powered by Google App Engine
This is Rietveld 408576698