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

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

Issue 1185753005: Return int from outlineWidth() and outlineSize() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | Source/core/style/ComputedStyle.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 8dd055b3239129573bbf15e0527bd35534b389d6..47af0238c4a18cf6fc96a1230bffff6e54eb4cb3 100644
--- a/Source/core/paint/ImagePainter.cpp
+++ b/Source/core/paint/ImagePainter.cpp
@@ -54,7 +54,7 @@ void ImagePainter::paintAreaElementFocusRing(const PaintInfo& paintInfo)
return;
const ComputedStyle& areaElementStyle = *areaElement.ensureComputedStyle();
- unsigned short outlineWidth = areaElementStyle.outlineWidth();
+ int outlineWidth = areaElementStyle.outlineWidth();
if (!outlineWidth)
return;
« no previous file with comments | « no previous file | Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698