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

Unified Diff: chrome/browser/ui/app_list/search/tokenized_string.cc

Issue 24012002: Move Range code to gfx. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: d Created 7 years, 3 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/ui/app_list/search/tokenized_string.cc
diff --git a/chrome/browser/ui/app_list/search/tokenized_string.cc b/chrome/browser/ui/app_list/search/tokenized_string.cc
index 1b70748aad27635868fba5b3788a81fc4e266d50..6769e2db68e44ceb525d1568d032fb2298eafacf 100644
--- a/chrome/browser/ui/app_list/search/tokenized_string.cc
+++ b/chrome/browser/ui/app_list/search/tokenized_string.cc
@@ -33,7 +33,7 @@ void TokenizedString::Tokenize() {
TermBreakIterator term_iter(word);
while (term_iter.Advance()) {
tokens_.push_back(base::i18n::ToLower(term_iter.GetCurrentTerm()));
- mappings_.push_back(ui::Range(word_start + term_iter.prev(),
+ mappings_.push_back(gfx::Range(word_start + term_iter.prev(),
word_start + term_iter.pos()));
}
}
« no previous file with comments | « chrome/browser/ui/app_list/search/tokenized_string.h ('k') | chrome/browser/ui/app_list/search/tokenized_string_match.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698