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

Unified Diff: sky/engine/core/rendering/RenderBlock.h

Issue 741893002: Remove canCollapseAnonymousBlockChild. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/core/rendering/RenderBlock.h
diff --git a/sky/engine/core/rendering/RenderBlock.h b/sky/engine/core/rendering/RenderBlock.h
index c055834faedcca4e36188a77efad306ba983a421..1e834ec096e9a1fcade36c78a755ef176349c7a5 100644
--- a/sky/engine/core/rendering/RenderBlock.h
+++ b/sky/engine/core/rendering/RenderBlock.h
@@ -284,10 +284,6 @@ private:
virtual bool isRenderBlock() const override final { return true; }
- void makeChildrenNonInline(RenderObject* insertionPoint = 0);
-
- static void collapseAnonymousBlockChild(RenderBlock* parent, RenderBlock* child);
-
virtual void dirtyLinesFromChangedChild(RenderObject* child) override final { m_lineBoxes.dirtyLinesFromChangedChild(this, child); }
void addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, RenderObject* beforeChild = 0);
@@ -346,8 +342,6 @@ protected:
virtual bool updateLogicalWidthAndColumnWidth();
- virtual bool canCollapseAnonymousBlockChild() const { return true; }
-
protected:
RenderObjectChildList m_children;
RenderLineBoxList m_lineBoxes; // All of the root line boxes created for this block flow. For example, <div>Hello<br>world.</div> will have two total lines for the <div>.
« no previous file with comments | « no previous file | sky/engine/core/rendering/RenderBlock.cpp » ('j') | sky/engine/core/rendering/RenderBlockLineLayout.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698