Index: chrome/browser/browser.cc |
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc |
index f372e0a3182e4584389af9da95b7868e587f2623..c1f26b7f2bfc938caf235dfceec8dd37be80fee9 100644 |
--- a/chrome/browser/browser.cc |
+++ b/chrome/browser/browser.cc |
@@ -1491,11 +1491,11 @@ void Browser::BookmarkCurrentPage() { |
return; // Ignore requests until bookmarks are loaded. |
GURL url; |
- std::wstring title; |
+ string16 title; |
bookmark_utils::GetURLAndTitleToBookmark(GetSelectedTabContents(), &url, |
&title); |
bool was_bookmarked = model->IsBookmarked(url); |
- model->SetURLStarred(url, WideToUTF16Hack(title), true); |
+ model->SetURLStarred(url, title, true); |
// Make sure the model actually added a bookmark before showing the star. A |
// bookmark isn't created if the url is invalid. |
if (window_->IsActive() && model->IsBookmarked(url)) { |