| Index: chrome/android/java/src/org/chromium/chrome/browser/widget/ClipDrawableProgressBar.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/ClipDrawableProgressBar.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/ClipDrawableProgressBar.java
|
| index 70855f14578001e3ef2aa99309a987c7733afe66..de3634cd6bb2b736b324dbb72d9183192ce31d78 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/widget/ClipDrawableProgressBar.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/ClipDrawableProgressBar.java
|
| @@ -39,7 +39,6 @@ public class ClipDrawableProgressBar extends ImageView {
|
| private final ColorDrawable mForegroundDrawable;
|
| private int mBackgroundColor = Color.TRANSPARENT;
|
| private float mProgress;
|
| - private int mProgressUpdateCount;
|
| private int mDesiredVisibility;
|
|
|
| /**
|
| @@ -84,7 +83,6 @@ public class ClipDrawableProgressBar extends ImageView {
|
| if (mProgress == progress) return;
|
|
|
| mProgress = progress;
|
| - mProgressUpdateCount += 1;
|
| getDrawable().setLevel(Math.round(progress * CLIP_DRAWABLE_MAX));
|
| }
|
|
|
| @@ -130,20 +128,6 @@ public class ClipDrawableProgressBar extends ImageView {
|
| }
|
| }
|
|
|
| - /**
|
| - * Resets progress update count to 0.
|
| - */
|
| - public void resetProgressUpdateCount() {
|
| - mProgressUpdateCount = 0;
|
| - }
|
| -
|
| - /**
|
| - * @return Progress update count since reset.
|
| - */
|
| - public int getProgressUpdateCount() {
|
| - return mProgressUpdateCount;
|
| - }
|
| -
|
| private void updateInternalVisibility() {
|
| int oldVisibility = getVisibility();
|
| int newVisibility = mDesiredVisibility;
|
|
|