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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/locale/SogouPromoDialog.java

Issue 2857893003: Replace search_sogou.png with a vector drawable (Closed)
Patch Set: Fix tests Created 3 years, 7 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: chrome/android/java/src/org/chromium/chrome/browser/locale/SogouPromoDialog.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/locale/SogouPromoDialog.java b/chrome/android/java/src/org/chromium/chrome/browser/locale/SogouPromoDialog.java
index 9b8c634d1ad560c5877bb505676ec16915e38d3c..3b9244ef06a1b3663c0e8cf5f13d9b1a4009f158 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/locale/SogouPromoDialog.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/locale/SogouPromoDialog.java
@@ -80,7 +80,7 @@ public class SogouPromoDialog extends PromoDialog {
@Override
protected DialogParams getDialogParams() {
PromoDialog.DialogParams params = new PromoDialog.DialogParams();
- params.drawableResource = R.drawable.search_sogou;
+ params.vectorDrawableResource = R.drawable.search_sogou;
params.headerStringResource = R.string.search_with_sogou;
params.subheaderStringResource = R.string.sogou_explanation;
params.primaryButtonStringResource = R.string.ok;

Powered by Google App Engine
This is Rietveld 408576698