Chromium Code Reviews| Index: Source/core/layout/LayoutBoxModelObject.cpp |
| diff --git a/Source/core/layout/LayoutBoxModelObject.cpp b/Source/core/layout/LayoutBoxModelObject.cpp |
| index 322bb7e4a5ebb6323025e044c5ed1568a0ac6880..4925fb0d967a18fe712386614525043c4115fb02 100644 |
| --- a/Source/core/layout/LayoutBoxModelObject.cpp |
| +++ b/Source/core/layout/LayoutBoxModelObject.cpp |
| @@ -414,6 +414,11 @@ void LayoutBoxModelObject::addOutlineRectsForDescendant(const LayoutObject& desc |
| return; |
| } |
| + if (descendant.isLayoutInline()) { |
|
Xianzhu
2015/08/06 18:12:45
This is a refactor of the original LayoutInline::a
|
| + toLayoutInline(descendant).addOutlineRectsForChildrenAndContinuations(rects, additionalOffset); |
| + return; |
| + } |
| + |
| descendant.addOutlineRects(rects, additionalOffset); |
| } |