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

Unified Diff: cc/base/math_util.cc

Issue 2803853007: Ignore rounding error between clip_layer_length_ and scroll_layer_length_ (Closed)
Patch Set: Created 3 years, 8 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
Index: cc/base/math_util.cc
diff --git a/cc/base/math_util.cc b/cc/base/math_util.cc
index 262f6586dbab585a612378f71c0bcd95f0004cc8..c37a60a3826ca50b9cc49d3c4415328f59a6fe84 100644
--- a/cc/base/math_util.cc
+++ b/cc/base/math_util.cc
@@ -817,6 +817,10 @@ ScopedSubnormalFloatDisabler::~ScopedSubnormalFloatDisabler() {
#endif
}
+bool MathUtil::IsFloatNearlyTheSame(float left, float right) {
+ return IsNearlyTheSame(left, right);
+}
+
bool MathUtil::IsNearlyTheSameForTesting(float left, float right) {
return IsNearlyTheSame(left, right);
}

Powered by Google App Engine
This is Rietveld 408576698