Index: content/renderer/text_input_client_observer.cc |
diff --git a/content/renderer/text_input_client_observer.cc b/content/renderer/text_input_client_observer.cc |
index 1494ebba841e203db3e466d937e48e9ade92fb6b..cec5e1ab76f931d6a79171912a8627420896108e 100644 |
--- a/content/renderer/text_input_client_observer.cc |
+++ b/content/renderer/text_input_client_observer.cc |
@@ -49,7 +49,7 @@ void TextInputClientObserver::OnCharacterIndexForPoint(gfx::Point point) { |
index)); |
} |
-void TextInputClientObserver::OnFirstRectForCharacterRange(ui::Range range) { |
+void TextInputClientObserver::OnFirstRectForCharacterRange(gfx::Range range) { |
gfx::Rect rect; |
#if defined(ENABLE_PLUGINS) |
if (!render_view_impl_->GetPepperCaretBounds(&rect)) |
@@ -66,7 +66,7 @@ void TextInputClientObserver::OnFirstRectForCharacterRange(ui::Range range) { |
Send(new TextInputClientReplyMsg_GotFirstRectForRange(routing_id(), rect)); |
} |
-void TextInputClientObserver::OnStringForRange(ui::Range range) { |
+void TextInputClientObserver::OnStringForRange(gfx::Range range) { |
#if defined(OS_MACOSX) |
NSAttributedString* string = nil; |
WebKit::WebFrame* frame = webview()->focusedFrame(); |