Bug 1331116 - part 2, Remove unused SnapMetrics class r=jchen
authorRandall Barker <rbarker@mozilla.com>
Tue, 10 Jan 2017 15:39:28 -0800
changeset 377052 b54f9eb0ba7d7dba88b061ba063b5914633a2434
parent 377051 f91e0c93c786494142b6013d1cf587e03ef4ead2
child 377053 8205e8a9e7a33ed521fa5e0b2e947ca89448ff52
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjchen
bugs1331116
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1331116 - part 2, Remove unused SnapMetrics class r=jchen
mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/DynamicToolbarAnimator.java
--- a/mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/DynamicToolbarAnimator.java
+++ b/mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/DynamicToolbarAnimator.java
@@ -584,21 +584,9 @@ public class DynamicToolbarAnimator {
 
             mTarget.getView().requestRender();
             if (progress >= 1.0f) {
                 mContinueAnimation = false;
             }
             return mContinueAnimation;
         }
     }
-
-    class SnapMetrics {
-        public final int viewportWidth;
-        public final int viewportHeight;
-        public final float scrollChangeY;
-
-        SnapMetrics(ImmutableViewportMetrics aMetrics, float aScrollChange) {
-            viewportWidth = aMetrics.viewportRectWidth;
-            viewportHeight = aMetrics.viewportRectHeight;
-            scrollChangeY = aScrollChange;
-        }
-    }
 }