Index: chrome/android/java/src/org/chromium/chrome/browser/widget/TintedDrawable.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/TintedDrawable.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/TintedDrawable.java |
index c21f09a62d0c439a7c79b6b3aa16f28c38a767b3..b641c6da693903598e21dddeeddf9193ba986f28 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/widget/TintedDrawable.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/TintedDrawable.java |
@@ -11,6 +11,7 @@ import android.graphics.BitmapFactory; |
import android.graphics.PorterDuff; |
import android.graphics.drawable.BitmapDrawable; |
+import org.chromium.base.ApiCompatibilityUtils; |
import org.chromium.chrome.R; |
/** |
@@ -25,7 +26,7 @@ public class TintedDrawable extends BitmapDrawable { |
public TintedDrawable(Resources res, Bitmap bitmap) { |
super(res, bitmap); |
- mTint = res.getColorStateList(R.color.dark_mode_tint); |
+ mTint = ApiCompatibilityUtils.getColorStateList(res, R.color.dark_mode_tint); |
} |
@Override |