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

Unified Diff: chrome/browser/gtk/download_item_gtk.cc

Issue 5959008: Remove wstring from l10n_util. Part 2.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/gtk/download_item_gtk.cc
===================================================================
--- chrome/browser/gtk/download_item_gtk.cc (revision 70233)
+++ chrome/browser/gtk/download_item_gtk.cc (working copy)
@@ -401,10 +401,9 @@
return;
}
- std::wstring status_text = download_model_->GetStatusText();
- status_text_ = WideToUTF8(status_text);
+ status_text_ = UTF16ToUTF8(download_model_->GetStatusText());
// Remove the status text label.
- if (status_text.empty()) {
+ if (status_text_.empty()) {
gtk_widget_destroy(status_label_);
return;
}

Powered by Google App Engine
This is Rietveld 408576698