Index: ui/base/ime/input_method_win.cc |
diff --git a/ui/base/ime/input_method_win.cc b/ui/base/ime/input_method_win.cc |
index 21c3d06131194542fdee32d0057a20b8128436f4..856c27df2bfedeb9d1d2f41878d9eb5ceff009cf 100644 |
--- a/ui/base/ime/input_method_win.cc |
+++ b/ui/base/ime/input_method_win.cc |
@@ -179,7 +179,7 @@ LRESULT InputMethodWin::OnDeadChar(UINT message, |
// what dead key was pressed. |
ui::CompositionText composition; |
composition.text.assign(1, static_cast<char16>(wparam)); |
- composition.selection = ui::Range(0, 1); |
+ composition.selection = gfx::Range(0, 1); |
composition.underlines.push_back( |
ui::CompositionUnderline(0, 1, SK_ColorBLACK, false)); |
GetTextInputClient()->SetCompositionText(composition); |
@@ -191,12 +191,12 @@ LRESULT InputMethodWin::OnDocumentFeed(RECONVERTSTRING* reconv) { |
if (!client) |
return 0; |
- ui::Range text_range; |
+ gfx::Range text_range; |
if (!client->GetTextRange(&text_range) || text_range.is_empty()) |
return 0; |
bool result = false; |
- ui::Range target_range; |
+ gfx::Range target_range; |
if (client->HasCompositionText()) |
result = client->GetCompositionTextRange(&target_range); |
@@ -258,11 +258,11 @@ LRESULT InputMethodWin::OnReconvertString(RECONVERTSTRING* reconv) { |
if (client->HasCompositionText()) |
return 0; |
- ui::Range text_range; |
+ gfx::Range text_range; |
if (!client->GetTextRange(&text_range) || text_range.is_empty()) |
return 0; |
- ui::Range selection_range; |
+ gfx::Range selection_range; |
if (!client->GetSelectionRange(&selection_range) || |
selection_range.is_empty()) { |
return 0; |