Index: Source/core/paint/ImagePainter.cpp |
diff --git a/Source/core/paint/ImagePainter.cpp b/Source/core/paint/ImagePainter.cpp |
index 3a3674703ea55a86497b9aaf389befed86cd50b3..d8b09ecae504c69171a805bf10d3f9f8e5bdfcfc 100644 |
--- a/Source/core/paint/ImagePainter.cpp |
+++ b/Source/core/paint/ImagePainter.cpp |
@@ -53,7 +53,7 @@ void ImagePainter::paintAreaElementFocusRing(const PaintInfo& paintInfo) |
if (path.isEmpty()) |
return; |
- const LayoutStyle& areaElementStyle = *areaElement.computedStyle(); |
+ const ComputedStyle& areaElementStyle = *areaElement.ensureComputedStyle(); |
unsigned short outlineWidth = areaElementStyle.outlineWidth(); |
if (!outlineWidth) |
return; |