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

Unified Diff: content/browser/renderer_host/text_input_manager.cc

Issue 2095813002: Revert of Routing IME Result Calls to the Correct RenderWidgetHost (Aura Only) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « content/browser/renderer_host/text_input_manager.h ('k') | content/public/test/text_input_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « content/browser/renderer_host/text_input_manager.h ('k') | content/public/test/text_input_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698