Index: chrome/android/java/src/org/chromium/chrome/browser/widget/findinpage/FindToolbarPhone.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/findinpage/FindToolbarPhone.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/findinpage/FindToolbarPhone.java |
index 8d2a18c127ee5b77b59f2178d665a7f68af27244..9c81b9b18c3d9fcbc637f73b65b30100f76c256a 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/widget/findinpage/FindToolbarPhone.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/findinpage/FindToolbarPhone.java |
@@ -44,14 +44,16 @@ public class FindToolbarPhone extends FindToolbar { |
int queryTextColorId; |
if (isIncognito) { |
setBackgroundResource(R.color.incognito_primary_color); |
- ColorStateList white = getResources().getColorStateList(R.color.light_mode_tint); |
+ ColorStateList white = ApiCompatibilityUtils.getColorStateList(getResources(), |
+ R.color.light_mode_tint); |
mFindNextButton.setTint(white); |
mFindPrevButton.setTint(white); |
mCloseFindButton.setTint(white); |
queryTextColorId = R.color.find_in_page_query_white_color; |
} else { |
setBackgroundColor(Color.WHITE); |
- ColorStateList dark = getResources().getColorStateList(R.color.dark_mode_tint); |
+ ColorStateList dark = ApiCompatibilityUtils.getColorStateList(getResources(), |
+ R.color.dark_mode_tint); |
mFindNextButton.setTint(dark); |
mFindPrevButton.setTint(dark); |
mCloseFindButton.setTint(dark); |