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

Unified Diff: third_party/WebKit/Source/platform/Decimal.h

Issue 1746283002: Rename enums/functions that collide in chromium style in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-13-platform: . Created 4 years, 10 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 | « third_party/WebKit/Source/platform/DateComponents.h ('k') | third_party/WebKit/Source/platform/Decimal.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/Decimal.h
diff --git a/third_party/WebKit/Source/platform/Decimal.h b/third_party/WebKit/Source/platform/Decimal.h
index be09f9020cc6930cc2b708730a0340ffe9a1bc91..19851af453d065138cc87d23012887b7e65f0e2e 100644
--- a/third_party/WebKit/Source/platform/Decimal.h
+++ b/third_party/WebKit/Source/platform/Decimal.h
@@ -76,7 +76,7 @@ public:
bool isNaN() const { return m_formatClass == ClassNaN; }
bool isSpecial() const { return m_formatClass == ClassInfinity || m_formatClass == ClassNaN; }
bool isZero() const { return m_formatClass == ClassZero; }
- Sign sign() const { return m_sign; }
+ Sign getSign() const { return m_sign; }
void setSign(Sign sign) { m_sign = sign; }
private:
@@ -88,7 +88,7 @@ public:
};
EncodedData(Sign, FormatClass);
- FormatClass formatClass() const { return m_formatClass; }
+ FormatClass getFormatClass() const { return m_formatClass; }
uint64_t m_coefficient;
int16_t m_exponent;
@@ -129,8 +129,8 @@ public:
bool isFinite() const { return m_data.isFinite(); }
bool isInfinity() const { return m_data.isInfinity(); }
bool isNaN() const { return m_data.isNaN(); }
- bool isNegative() const { return sign() == Negative; }
- bool isPositive() const { return sign() == Positive; }
+ bool isNegative() const { return getSign() == Negative; }
+ bool isPositive() const { return getSign() == Positive; }
bool isSpecial() const { return m_data.isSpecial(); }
bool isZero() const { return m_data.isZero(); }
@@ -174,7 +174,7 @@ private:
static AlignedOperands alignOperands(const Decimal& lhs, const Decimal& rhs);
static inline Sign invertSign(Sign sign) { return sign == Negative ? Positive : Negative; }
- Sign sign() const { return m_data.sign(); }
+ Sign getSign() const { return m_data.getSign(); }
EncodedData m_data;
};
« no previous file with comments | « third_party/WebKit/Source/platform/DateComponents.h ('k') | third_party/WebKit/Source/platform/Decimal.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698