Index: Source/core/paint/ObjectPainter.cpp |
diff --git a/Source/core/paint/ObjectPainter.cpp b/Source/core/paint/ObjectPainter.cpp |
index f19c01892d199ee8763ab54e5adafa280c1f9f1f..7362fdf51b6831dcbbe5ae2023848eb5a50e1f62 100644 |
--- a/Source/core/paint/ObjectPainter.cpp |
+++ b/Source/core/paint/ObjectPainter.cpp |
@@ -17,13 +17,8 @@ namespace blink { |
LayoutRect ObjectPainter::outlineBounds(const LayoutRect& objectBounds, const ComputedStyle& style) |
{ |
- int outlineOutset; |
- if (style.outlineStyleIsAuto()) |
- outlineOutset = GraphicsContext::focusRingOutsetExtent(style.outlineOffset(), style.outlineWidth()); |
- else |
- outlineOutset = style.outlineSize(); |
LayoutRect outlineBounds(objectBounds); |
- outlineBounds.inflate(outlineOutset); |
+ outlineBounds.inflate(style.outlineOutset()); |
return outlineBounds; |
} |