Index: chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java |
index bd4eed315db11adc26a2f70ddb8f0a83ecdeba09..b5053a5f280fe61cea3f2fce71cfbaa84492619e 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java |
@@ -183,7 +183,7 @@ public class InfoBarLayout extends ViewGroup implements View.OnClickListener { |
new int [] {R.attr.selectableItemBackground}); |
Drawable closeButtonBackground = a.getDrawable(0); |
a.recycle(); |
- ApiCompatibilityUtils.setBackgroundForView(mCloseButton, closeButtonBackground); |
+ mCloseButton.setBackground(closeButtonBackground); |
mCloseButton.setPadding(mMargin, mMargin, mMargin, mMargin); |
mCloseButton.setOnClickListener(this); |
mCloseButton.setContentDescription(res.getString(R.string.infobar_close)); |