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

Unified Diff: chrome/browser/extensions/extension_bookmarks_module.cc

Issue 3197009: Remove wstrings in bookmarks, part 10. (Closed)
Patch Set: 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
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_bookmarks_module.cc
diff --git a/chrome/browser/extensions/extension_bookmarks_module.cc b/chrome/browser/extensions/extension_bookmarks_module.cc
index 12da5f71bbc55a874c8203efb2f82c04e7a398e8..4da2a5d42439e3eeff3844de225debc8092b3498 100644
--- a/chrome/browser/extensions/extension_bookmarks_module.cc
+++ b/chrome/browser/extensions/extension_bookmarks_module.cc
@@ -330,7 +330,7 @@ bool SearchBookmarksFunction::RunImpl() {
std::wstring lang =
UTF8ToWide(profile()->GetPrefs()->GetString(prefs::kAcceptLanguages));
std::vector<const BookmarkNode*> nodes;
- bookmark_utils::GetBookmarksContainingText(model, UTF16ToWideHack(query),
+ bookmark_utils::GetBookmarksContainingText(model, query,
std::numeric_limits<int>::max(),
lang, &nodes);
std::vector<const BookmarkNode*>::iterator i = nodes.begin();
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698