summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks/bookmark_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_model.cc')
-rw-r--r--chrome/browser/bookmarks/bookmark_model.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/chrome/browser/bookmarks/bookmark_model.cc b/chrome/browser/bookmarks/bookmark_model.cc
index 4e35c21..0929ba6 100644
--- a/chrome/browser/bookmarks/bookmark_model.cc
+++ b/chrome/browser/bookmarks/bookmark_model.cc
@@ -488,14 +488,6 @@ void BookmarkModel::ResetDateGroupModified(const BookmarkNode* node) {
SetDateGroupModified(node, Time());
}
-#if !defined(WCHAR_T_IS_UTF16)
-void BookmarkModel::GetBookmarksWithTitlesMatching(
- const std::wstring& text,
- size_t max_count,
- std::vector<bookmark_utils::TitleMatch>* matches) {
- GetBookmarksWithTitlesMatching(WideToUTF16(text), max_count, matches);
-}
-#endif
void BookmarkModel::GetBookmarksWithTitlesMatching(
const string16& text,
size_t max_count,
@@ -503,7 +495,8 @@ void BookmarkModel::GetBookmarksWithTitlesMatching(
if (!loaded_)
return;
- index_->GetBookmarksWithTitlesMatching(UTF16ToWide(text), max_count, matches);
+ index_->GetBookmarksWithTitlesMatching(UTF16ToWideHack(text), max_count,
+ matches);
}
void BookmarkModel::ClearStore() {