Index: Source/core/layout/LayoutBlock.cpp |
diff --git a/Source/core/layout/LayoutBlock.cpp b/Source/core/layout/LayoutBlock.cpp |
index badc7785b8b72716b8de09760e668a4364650ef9..652b3174e6ab36212c53cce33965e20b9622c058 100644 |
--- a/Source/core/layout/LayoutBlock.cpp |
+++ b/Source/core/layout/LayoutBlock.cpp |
@@ -2597,12 +2597,8 @@ void LayoutBlock::addOutlineRects(Vector<LayoutRect>& rects, const LayoutPoint& |
} |
} |
- if (inlineElementContinuation) { |
- Vector<LayoutRect> inlineOutlineRects; |
- // We need to give the LayoutInline a clean vector to let it add focus ring rects of line boxes. |
- inlineElementContinuation->addOutlineRects(inlineOutlineRects, additionalOffset + (inlineElementContinuation->containingBlock()->location() - location())); |
- rects.appendVector(inlineOutlineRects); |
- } |
+ if (inlineElementContinuation) |
chrishtr
2015/08/07 23:35:31
Can this code just be deleted, and then the specia
Xianzhu
2015/08/07 23:56:23
They are for different cases. You can treat the ad
chrishtr
2015/08/08 02:42:00
Then I don't understand where the potential duplic
|
+ inlineElementContinuation->addOutlineRects(rects, additionalOffset + (inlineElementContinuation->containingBlock()->location() - location())); |
} |
void LayoutBlock::computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutPoint& layerOffset) const |