Index: Source/core/paint/InlinePainter.cpp |
diff --git a/Source/core/paint/InlinePainter.cpp b/Source/core/paint/InlinePainter.cpp |
index d7cb3e9218b09776ce78c75cbda654eadc3eb5d7..92a9afbc4fd8d33472bc0eeb03351418de1dcdd8 100644 |
--- a/Source/core/paint/InlinePainter.cpp |
+++ b/Source/core/paint/InlinePainter.cpp |
@@ -31,12 +31,7 @@ void InlinePainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOf |
LayoutRect InlinePainter::outlinePaintRect(const Vector<LayoutRect>& outlineRects, const LayoutPoint& paintOffset) const |
{ |
- const ComputedStyle& style = m_layoutInline.styleRef(); |
- int outlineOutset; |
- if (style.outlineStyleIsAuto()) |
- outlineOutset = GraphicsContext::focusRingOutsetExtent(style.outlineOffset(), style.outlineWidth()); |
- else |
- outlineOutset = style.outlineSize(); |
+ int outlineOutset = m_layoutInline.styleRef().outlineOutset(); |
LayoutRect outlineRect; |
for (const LayoutRect& rect : outlineRects) { |
LayoutRect inflatedRect(rect); |