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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_types.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/autofill/autofill_dialog_types.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_types.cc b/chrome/browser/ui/autofill/autofill_dialog_types.cc
index dbff7ec8a56c9c5cf49de9dabef7f081236bc284..cd3cc5668198c4a71220a9c2c73e7b4602f5ef31 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_types.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_types.cc
@@ -30,7 +30,7 @@ DialogNotification::DialogNotification(Type type, const string16& display_text)
std::vector<base::string16> pieces;
base::SplitStringDontTrim(display_text, kRangeSeparator, &pieces);
if (pieces.size() > 1) {
- link_range_ = ui::Range(pieces[0].size(), pieces[1].size());
+ link_range_ = gfx::Range(pieces[0].size(), pieces[1].size());
display_text_ = JoinString(pieces, string16());
}
}
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_types.h ('k') | chrome/browser/ui/autofill/autofill_dialog_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698