Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index cc55f1a69d1fe6d8ad3a9ab5d787ddfb894469b9..70eab727324e69de0defd0afb6a0a2c938f7e7dc 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -1154,7 +1154,7 @@ void RenderObject::paintOutline(PaintInfo& paintInfo, const LayoutRect& paintRec |
int outlineOffset = styleToUse->outlineOffset(); |
if (styleToUse->outlineStyleIsAuto() || hasOutlineAnnotation()) { |
- if (!theme()->supportsFocusRing(styleToUse)) { |
+ if (theme()->shouldDrawDefaultFocusRing(this)) { |
// Only paint the focus ring by hand if the theme isn't able to draw the focus ring. |
paintFocusRing(paintInfo, paintRect.location(), styleToUse); |
} |