| 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 746e91073068a70bba5f9965ac95399fa72037e9..16897f88438e018a4733f8098d6514b92e29cb35 100644
|
| --- a/content/browser/renderer_host/text_input_manager.cc
|
| +++ b/content/browser/renderer_host/text_input_manager.cc
|
| @@ -60,12 +60,8 @@ RenderWidgetHostImpl* TextInputManager::GetActiveWidget() const {
|
| : nullptr;
|
| }
|
|
|
| -const TextInputState* TextInputManager::GetTextInputState(
|
| - RenderWidgetHostViewBase* view) const {
|
| - DCHECK(!view || IsRegistered(view));
|
| - if (!view)
|
| - view = active_view_;
|
| - return !!view ? &text_input_state_map_.at(view) : nullptr;
|
| +const TextInputState* TextInputManager::GetTextInputState() const {
|
| + return !!active_view_ ? &text_input_state_map_.at(active_view_) : nullptr;
|
| }
|
|
|
| const TextInputManager::SelectionRegion* TextInputManager::GetSelectionRegion(
|
|
|