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

Unified Diff: cc/base/math_util.h

Issue 2551263002: Don't add duplicate points when clipping (Closed)
Patch Set: danakj comments #15 Created 3 years, 11 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 | « no previous file | cc/base/math_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/math_util.h
diff --git a/cc/base/math_util.h b/cc/base/math_util.h
index 05014ee5c19dffd7abb676c8ba0a3f5e7e90753e..b008b1a3c8599db0a803c06ec8f0aeaf46866505 100644
--- a/cc/base/math_util.h
+++ b/cc/base/math_util.h
@@ -335,6 +335,9 @@ class ScopedSubnormalFloatDisabler {
DISALLOW_COPY_AND_ASSIGN(ScopedSubnormalFloatDisabler);
};
+bool IsNearlyTheSameForTesting(const float left, const float right);
Peter Mayo 2017/01/12 00:05:13 These need to lose const to match. Another patchs
danakj 2017/01/12 00:10:19 Yep yep
+bool IsNearlyTheSameForTesting(const gfx::PointF& l, const gfx::PointF& r);
+bool IsNearlyTheSameForTesting(const gfx::Point3F& l, const gfx::Point3F& r);
} // namespace cc
#endif // CC_BASE_MATH_UTIL_H_
« no previous file with comments | « no previous file | cc/base/math_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698