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

Unified Diff: ui/gfx/interpolated_transform_unittest.cc

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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: ui/gfx/interpolated_transform_unittest.cc
diff --git a/ui/gfx/interpolated_transform_unittest.cc b/ui/gfx/interpolated_transform_unittest.cc
index acea465d59a6d87ab515644c8be48c19ec22c2d9..5215a8b07fe5589ab1ea578360c48387edf83991 100644
--- a/ui/gfx/interpolated_transform_unittest.cc
+++ b/ui/gfx/interpolated_transform_unittest.cc
@@ -19,16 +19,6 @@ void CheckApproximatelyEqual(const gfx::Transform& lhs,
}
}
-float NormalizeAngle(float angle) {
- while (angle < 0.0f) {
- angle += 360.0f;
- }
- while (angle > 360.0f) {
- angle -= 360.0f;
- }
- return angle;
-}
-
} // namespace
TEST(InterpolatedTransformTest, InterpolatedRotation) {

Powered by Google App Engine
This is Rietveld 408576698