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

Unified Diff: ui/base/gtk/gtk_im_context_util.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
« no previous file with comments | « ui/app_list/search_result.h ('k') | ui/base/ime/composition_text.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gtk/gtk_im_context_util.cc
diff --git a/ui/base/gtk/gtk_im_context_util.cc b/ui/base/gtk/gtk_im_context_util.cc
index b60856bf3f1940e5a37935978209828d950e1885..dfd5f3f9e8d2c0769fb66711cdf4868438c6ff7f 100644
--- a/ui/base/gtk/gtk_im_context_util.cc
+++ b/ui/base/gtk/gtk_im_context_util.cc
@@ -40,7 +40,7 @@ void ExtractCompositionTextFromGtkPreedit(const gchar* utf8_text,
size_t cursor_offset =
char16_offsets[std::max(0, std::min(char_length, cursor_position))];
- composition->selection = ui::Range(cursor_offset);
+ composition->selection = gfx::Range(cursor_offset);
if (attrs) {
int utf8_length = strlen(utf8_text);
« no previous file with comments | « ui/app_list/search_result.h ('k') | ui/base/ime/composition_text.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698