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

Unified Diff: chrome/browser/cocoa/bookmark_all_tabs_controller.mm

Issue 3152034: Remove wstrings in bookmarks, part 5. (Closed)
Patch Set: yet moar Created 10 years, 4 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/cocoa/bookmark_all_tabs_controller.mm
diff --git a/chrome/browser/cocoa/bookmark_all_tabs_controller.mm b/chrome/browser/cocoa/bookmark_all_tabs_controller.mm
index 97269dc6c330a03dc1ef7905f119fe65a774eb90..13dd036d6dd08859be141d5ba61d137ca554a97c 100644
--- a/chrome/browser/cocoa/bookmark_all_tabs_controller.mm
+++ b/chrome/browser/cocoa/bookmark_all_tabs_controller.mm
@@ -43,7 +43,7 @@
const int tabCount = tabstrip_model->count();
for (int i = 0; i < tabCount; ++i) {
TabContents* tc = tabstrip_model->GetTabContentsAt(i);
- const std::wstring tabTitle = UTF16ToWideHack(tc->GetTitle());
+ const string16 tabTitle = tc->GetTitle();
const GURL& tabURL(tc->GetURL());
ActiveTabNameURLPair tabPair(tabTitle, tabURL);
activeTabPairsVector_.push_back(tabPair);
« no previous file with comments | « chrome/browser/cocoa/bookmark_all_tabs_controller.h ('k') | chrome/browser/cocoa/bookmark_all_tabs_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698