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

Unified Diff: third_party/WebKit/Source/platform/DecimalTest.cpp

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/Decimal.cpp ('k') | third_party/WebKit/Source/platform/JSONValues.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/DecimalTest.cpp
diff --git a/third_party/WebKit/Source/platform/DecimalTest.cpp b/third_party/WebKit/Source/platform/DecimalTest.cpp
index 122137a84d2f0276ea7d0b17bfe4a7dacfb3e893..886ecc6eba3e3db3bf4bc3f9230ff2b1b2861716 100644
--- a/third_party/WebKit/Source/platform/DecimalTest.cpp
+++ b/third_party/WebKit/Source/platform/DecimalTest.cpp
@@ -43,7 +43,7 @@ std::ostream& operator<<(std::ostream& os, const Decimal& decimal)
return os
<< "encode(" << String::number(data.coefficient()).ascii().data()
<< ", " << String::number(data.exponent()).ascii().data()
- << ", " << (data.sign() == Decimal::Negative ? "Negative" : "Positive")
+ << ", " << (data.getSign() == Decimal::Negative ? "Negative" : "Positive")
<< ")=" << decimal.toString().ascii().data();
}
@@ -112,7 +112,7 @@ protected:
#define EXPECT_DECIMAL_ENCODED_DATA_EQ(expectedCoefficient, expectedExponent, expectedSign, decimal) \
EXPECT_EQ((expectedCoefficient), (decimal).value().coefficient()); \
EXPECT_EQ((expectedExponent), (decimal).value().exponent()); \
- EXPECT_EQ(Decimal::expectedSign, (decimal).value().sign());
+ EXPECT_EQ(Decimal::expectedSign, (decimal).value().getSign());
#define EXPECT_DECIMAL_STREQ(expected, decimal) EXPECT_STREQ((expected), (decimal).toString().ascii().data())
« no previous file with comments | « third_party/WebKit/Source/platform/Decimal.cpp ('k') | third_party/WebKit/Source/platform/JSONValues.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698