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

Unified Diff: chrome/browser/ui/app_list/search/tokenized_string_match.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_match.cc
diff --git a/chrome/browser/ui/app_list/search/tokenized_string_match.cc b/chrome/browser/ui/app_list/search/tokenized_string_match.cc
index 2dd57d825c592259f86403e8b8c096552eaf216f..5a68af6e0af8b1515b02917675f0e67a33b3d2bc 100644
--- a/chrome/browser/ui/app_list/search/tokenized_string_match.cc
+++ b/chrome/browser/ui/app_list/search/tokenized_string_match.cc
@@ -47,7 +47,7 @@ bool TokenizedStringMatch::Calculate(const TokenizedString& query,
relevance_ = kNoMatchScore;
hits_.clear();
- ui::Range hit = ui::Range::InvalidRange();
+ gfx::Range hit = gfx::Range::InvalidRange();
TokenizedStringCharIterator query_iter(query);
TokenizedStringCharIterator text_iter(text);
@@ -70,7 +70,7 @@ bool TokenizedStringMatch::Calculate(const TokenizedString& query,
} else {
if (hit.IsValid()) {
hits_.push_back(hit);
- hit = ui::Range::InvalidRange();
+ hit = gfx::Range::InvalidRange();
}
text_iter.NextToken();

Powered by Google App Engine
This is Rietveld 408576698