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

Unified Diff: ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.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: ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java
diff --git a/ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java b/ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java
index aac8898399f671c69fee36b14b27704165125088..b6b35ca956135d8a27d10e93409bcb6111c91025 100644
--- a/ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java
+++ b/ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java
@@ -91,6 +91,6 @@ public class ColorPickerAdvancedComponent {
} else {
mGradientDrawable.setColors(mGradientColors);
}
- ApiCompatibilityUtils.setBackgroundForView(mGradientView, mGradientDrawable);
+ mGradientView.setBackground(mGradientDrawable);
}
}

Powered by Google App Engine
This is Rietveld 408576698