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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java

Issue 1078273002: Remove unnecesary ApiCompatibilityUtils calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: newt's comments Created 5 years, 8 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
Index: content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java b/content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java
index 56a74a86d02612a88f3eab310031a593996f1b4d..720534c628e6c35b71cb89f5870c755ce41a07f1 100644
--- a/content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java
+++ b/content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java
@@ -13,7 +13,6 @@ import android.view.View;
import android.view.animation.AnimationUtils;
import android.widget.PopupWindow;
-import org.chromium.base.ApiCompatibilityUtils;
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
import org.chromium.content.browser.PositionObserver;
@@ -244,7 +243,7 @@ public class PopupTouchHandleDrawable extends View {
if (mHasPendingInvalidate) return;
mHasPendingInvalidate = true;
- ApiCompatibilityUtils.postOnAnimation(this, mInvalidationRunnable);
+ postOnAnimation(mInvalidationRunnable);
}
private void rescheduleFadeIn() {
@@ -263,8 +262,7 @@ public class PopupTouchHandleDrawable extends View {
}
removeCallbacks(mDeferredHandleFadeInRunnable);
- ApiCompatibilityUtils.postOnAnimationDelayed(
- this, mDeferredHandleFadeInRunnable, FADE_IN_DELAY_MS);
+ postOnAnimationDelayed(mDeferredHandleFadeInRunnable, FADE_IN_DELAY_MS);
}
private void beginFadeIn() {

Powered by Google App Engine
This is Rietveld 408576698