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

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

Issue 2048943002: Fix an assertion failure in InputType::applyStep() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « third_party/WebKit/Source/platform/Decimal.cpp ('k') | no next file » | 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 886ecc6eba3e3db3bf4bc3f9230ff2b1b2861716..551a2812a017905ccb0d66baddc179ade4bdfbde 100644
--- a/third_party/WebKit/Source/platform/DecimalTest.cpp
+++ b/third_party/WebKit/Source/platform/DecimalTest.cpp
@@ -37,17 +37,7 @@
namespace blink {
-std::ostream& operator<<(std::ostream& os, const Decimal& decimal)
-{
- Decimal::EncodedData data = decimal.value();
- return os
- << "encode(" << String::number(data.coefficient()).ascii().data()
- << ", " << String::number(data.exponent()).ascii().data()
- << ", " << (data.getSign() == Decimal::Negative ? "Negative" : "Positive")
- << ")=" << decimal.toString().ascii().data();
-}
-
-// Simulate WebCore/html/StepRange
+// Simulate core/html/forms/StepRange
class DecimalStepRange {
public:
Decimal maximum;
« no previous file with comments | « third_party/WebKit/Source/platform/Decimal.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698