| Index: third_party/WebKit/Source/core/layout/LayoutBlock.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h
|
| index 4a1b6329af80b2fafd83dd766ce1df9c5aa1d32a..c704d5c30caa83a0bcd5a120eb0d4107539762ee 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h
|
| @@ -146,6 +146,12 @@ protected:
|
| RootInlineBox* firstRootBox() const { return static_cast<RootInlineBox*>(firstLineBox()); }
|
| RootInlineBox* lastRootBox() const { return static_cast<RootInlineBox*>(lastLineBox()); }
|
|
|
| + // Insert a child correctly into the tree when |beforeDescendant| isn't a direct child of
|
| + // |this|. This happens e.g. when there's an anonymous block child of |this| and
|
| + // |beforeDescendant| has been reparented into that one. Such things are invisible to the DOM,
|
| + // and addChild() is typically called with the DOM tree (and not the layout tree) in mind.
|
| + void addChildBeforeDescendant(LayoutObject* newChild, LayoutObject* beforeDescendant);
|
| +
|
| public:
|
| // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to LayoutBlockFlow
|
| virtual void deleteLineBoxTree();
|
|
|