Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
index 928c8808c3e402abcbbe50945651b31b574a8831..ab193ff9b4aea46b6119ba171c79ba0ec89ce829 100644 |
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
@@ -19,7 +19,6 @@ import android.widget.LinearLayout; |
import android.widget.TextView; |
import android.widget.TextView.OnEditorActionListener; |
-import org.chromium.base.ApiCompatibilityUtils; |
import org.chromium.base.CommandLine; |
import org.chromium.chrome.browser.EmptyTabObserver; |
import org.chromium.chrome.browser.Tab; |
@@ -53,8 +52,7 @@ public class ChromeShellToolbar extends LinearLayout { |
R.drawable.btn_close); |
} else { |
mStopReloadButton.setImageResource(R.drawable.btn_toolbar_reload); |
- ApiCompatibilityUtils.postOnAnimationDelayed(ChromeShellToolbar.this, |
- mClearProgressRunnable, COMPLETED_PROGRESS_TIMEOUT_MS); |
+ postOnAnimationDelayed(mClearProgressRunnable, COMPLETED_PROGRESS_TIMEOUT_MS); |
} |
} |
}; |
@@ -127,7 +125,7 @@ public class ChromeShellToolbar extends LinearLayout { |
removeCallbacks(mUpdateProgressRunnable); |
mProgress = progress; |
mLoading = progress != 100; |
- ApiCompatibilityUtils.postOnAnimation(this, mUpdateProgressRunnable); |
+ postOnAnimation(mUpdateProgressRunnable); |
} |
/** |