Index: content/browser/renderer_host/text_input_manager.cc |
diff --git a/content/browser/renderer_host/text_input_manager.cc b/content/browser/renderer_host/text_input_manager.cc |
index c80f3807a0452485b0435e9e3c5f2b024c7dcb05..258c05ee00602ff2cf4a8ed6a1f0a76b71d15b46 100644 |
--- a/content/browser/renderer_host/text_input_manager.cc |
+++ b/content/browser/renderer_host/text_input_manager.cc |
@@ -4,7 +4,6 @@ |
#include "content/browser/renderer_host/text_input_manager.h" |
-#include "content/browser/renderer_host/render_widget_host_impl.h" |
#include "content/browser/renderer_host/render_widget_host_view_base.h" |
namespace content { |
@@ -48,10 +47,8 @@ |
return !!active_view_ ? &text_input_state_map_[active_view_] : nullptr; |
} |
-RenderWidgetHostImpl* TextInputManager::GetActiveWidget() const { |
- return !!active_view_ ? static_cast<RenderWidgetHostImpl*>( |
- active_view_->GetRenderWidgetHost()) |
- : nullptr; |
+RenderWidgetHostViewBase* TextInputManager::GetActiveView() const { |
+ return active_view_; |
} |
void TextInputManager::UpdateTextInputState( |