Index: content/browser/renderer_host/text_input_client_mac.mm |
diff --git a/content/browser/renderer_host/text_input_client_mac.mm b/content/browser/renderer_host/text_input_client_mac.mm |
index cdf56a1eb1992f4bf061c83298830c80450b41db..b9d900a704ea47ca047bce8d9220ab57c744eaf7 100644 |
--- a/content/browser/renderer_host/text_input_client_mac.mm |
+++ b/content/browser/renderer_host/text_input_client_mac.mm |
@@ -61,7 +61,7 @@ NSRect TextInputClientMac::GetFirstRectForRange(RenderWidgetHost* rwh, |
RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(rwh); |
rwhi->Send( |
new TextInputClientMsg_FirstRectForCharacterRange(rwhi->GetRoutingID(), |
- ui::Range(range))); |
+ gfx::Range(range))); |
// http://crbug.com/121917 |
base::ThreadRestrictions::ScopedAllowWait allow_wait; |
condition_.TimedWait(base::TimeDelta::FromMilliseconds(kWaitTimeout)); |
@@ -82,7 +82,7 @@ NSAttributedString* TextInputClientMac::GetAttributedSubstringFromRange( |
BeforeRequest(); |
RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(rwh); |
rwhi->Send(new TextInputClientMsg_StringForRange(rwhi->GetRoutingID(), |
- ui::Range(range))); |
+ gfx::Range(range))); |
// http://crbug.com/121917 |
base::ThreadRestrictions::ScopedAllowWait allow_wait; |
condition_.TimedWait(base::TimeDelta::FromMilliseconds(kWaitTimeout)); |