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()) { |
+ toLayoutInline(descendant).addOutlineRectsForChildrenAndContinuations(rects, additionalOffset); |
+ return; |
chrishtr
2015/08/07 04:52:10
Can the refactor you referred to be made into its
Xianzhu
2015/08/07 16:25:37
Done. Ptal: https://codereview.chromium.org/128054
|
+ } |
+ |
descendant.addOutlineRects(rects, additionalOffset); |
} |