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

Unified Diff: Source/core/style/ComputedStyle.h

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 | « Source/core/paint/ImagePainter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/ComputedStyle.h
diff --git a/Source/core/style/ComputedStyle.h b/Source/core/style/ComputedStyle.h
index 41df5fa2f251920fc983de199397efd10ed2da93..4b66e77cc1acaf700f943413ff8332c8bdeeef48 100644
--- a/Source/core/style/ComputedStyle.h
+++ b/Source/core/style/ComputedStyle.h
@@ -519,8 +519,8 @@ public:
unsigned short borderStartWidth() const;
unsigned short borderEndWidth() const;
- unsigned short outlineSize() const { return max(0, outlineWidth() + outlineOffset()); }
- unsigned short outlineWidth() const
+ int outlineSize() const { return max(0, outlineWidth() + outlineOffset()); }
+ int outlineWidth() const
{
if (m_background->outline().style() == BNONE)
return 0;
« no previous file with comments | « Source/core/paint/ImagePainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698