Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1494)

Unified Diff: Source/core/paint/ImagePainter.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/paint/EllipsisBoxPainter.cpp ('k') | Source/core/paint/InlineFlowBoxPainter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/paint/EllipsisBoxPainter.cpp ('k') | Source/core/paint/InlineFlowBoxPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698