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

Unified Diff: chrome/browser/ui/webui/ntp/android/promo_handler.cc

Issue 176843022: Move UTF16ToASCII, remove WideToASCII. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/browser/ui/webui/ntp/android/promo_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/android/promo_handler.cc b/chrome/browser/ui/webui/ntp/android/promo_handler.cc
index 58d7e891485e0198ae4206fe227089daf904a427..8f9f03fb14e36b674cd7aafd253b4f7cf2325349 100644
--- a/chrome/browser/ui/webui/ntp/android/promo_handler.cc
+++ b/chrome/browser/ui/webui/ntp/android/promo_handler.cc
@@ -211,7 +211,7 @@ void PromoHandler::HandleGetPromotions(const base::ListValue* /*args*/) {
void PromoHandler::HandleRecordImpression(const base::ListValue* args) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(args && !args->empty());
- RecordPromotionImpression(UTF16ToASCII(ExtractStringValue(args)));
+ RecordPromotionImpression(base::UTF16ToASCII(ExtractStringValue(args)));
}
void PromoHandler::InjectPromoDecorations() {

Powered by Google App Engine
This is Rietveld 408576698