| Index: Source/core/rendering/RenderInline.cpp
|
| diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp
|
| index b92de8789bd01738d8c59bab180c942a3e37c835..dd2302a693d609f522cce2d62de77b75d056169d 100644
|
| --- a/Source/core/rendering/RenderInline.cpp
|
| +++ b/Source/core/rendering/RenderInline.cpp
|
| @@ -1352,17 +1352,7 @@ void RenderInline::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint&
|
| AbsoluteRectsGeneratorContext context(rects, additionalOffset);
|
| generateLineBoxRects(context);
|
|
|
| - for (RenderObject* curr = firstChild(); curr; curr = curr->nextSibling()) {
|
| - if (!curr->isText() && !curr->isListMarker()) {
|
| - FloatPoint pos(additionalOffset);
|
| - // FIXME: This doesn't work correctly with transforms.
|
| - if (curr->hasLayer())
|
| - pos = curr->localToContainerPoint(FloatPoint(), paintContainer);
|
| - else if (curr->isBox())
|
| - pos.move(toRenderBox(curr)->locationOffset());
|
| - curr->addFocusRingRects(rects, flooredIntPoint(pos), paintContainer);
|
| - }
|
| - }
|
| + addChildrenFocusRingRects(rects, additionalOffset, paintContainer);
|
|
|
| if (continuation()) {
|
| if (continuation()->isInline())
|
|
|