Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/ChromeSwitchPreference.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/ChromeSwitchPreference.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/ChromeSwitchPreference.java |
index dff73923dc25e0eaecc213bcbe48bdfdff7ea61c..3c3df8f51edcc151d3f38a57e52c019d7811e3cb 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/ChromeSwitchPreference.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/ChromeSwitchPreference.java |
@@ -15,7 +15,6 @@ import android.util.AttributeSet; |
import android.view.View; |
import android.widget.TextView; |
-import org.chromium.base.ApiCompatibilityUtils; |
import org.chromium.chrome.R; |
import org.chromium.chrome.browser.widget.ChromeSwitchCompat; |
@@ -72,7 +71,7 @@ public class ChromeSwitchPreference extends SwitchPreference { |
int right = view.getPaddingRight(); |
int top = view.getPaddingTop(); |
int bottom = view.getPaddingBottom(); |
- ApiCompatibilityUtils.setBackgroundForView(view, DividerDrawable.create(getContext())); |
+ view.setBackground(DividerDrawable.create(getContext())); |
view.setPadding(left, top, right, bottom); |
} |