Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index 7ae553d47c25d146d69fbf9da8592dba8c725331..7e63fe333b7890e7e5c48a84f0ad34a67eb493fb 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -567,7 +567,7 @@ FloatQuad RenderBox::absoluteContentQuad() const |
return localToAbsoluteQuad(FloatRect(rect)); |
} |
-void RenderBox::addFocusRingRects(Vector<LayoutRect>& rects, const LayoutPoint& additionalOffset, const RenderLayerModelObject*) const |
+void RenderBox::addFocusRingRects(Vector<LayoutRect>& rects, const LayoutPoint& additionalOffset) const |
{ |
if (!size().isEmpty()) |
rects.append(LayoutRect(additionalOffset, size())); |
@@ -3930,7 +3930,7 @@ LayoutBoxExtent RenderBox::computeVisualEffectOverflowExtent() const |
if (style()->outlineStyleIsAuto()) { |
// The result focus ring rects are in coordinates of this object's border box. |
Vector<LayoutRect> focusRingRects; |
- addFocusRingRects(focusRingRects, LayoutPoint(), this); |
+ addFocusRingRects(focusRingRects, LayoutPoint()); |
LayoutRect rect = unionRect(focusRingRects); |
int outlineSize = GraphicsContext::focusRingOutsetExtent(style()->outlineOffset(), style()->outlineWidth()); |