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

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

Issue 1182053003: Use plain int for borders widths when possible (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/style/BorderData.h ('k') | 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/style/BorderValue.h
diff --git a/Source/core/style/BorderValue.h b/Source/core/style/BorderValue.h
index 8cf40e1f02c6492e3831944f9f01832abed8db6e..cc630904ea595ebbb52b605ffc604bf7157285f1 100644
--- a/Source/core/style/BorderValue.h
+++ b/Source/core/style/BorderValue.h
@@ -86,7 +86,7 @@ public:
StyleColor color() const { return m_colorIsCurrentColor ? StyleColor::currentColor() : StyleColor(m_color); }
- unsigned width() const { return m_width; }
+ int width() const { return m_width; }
EBorderStyle style() const { return static_cast<EBorderStyle>(m_style); }
void setStyle(EBorderStyle style) { m_style = style; }
« no previous file with comments | « Source/core/style/BorderData.h ('k') | Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698