| Index: content/public/test/text_input_test_utils.cc
|
| diff --git a/content/public/test/text_input_test_utils.cc b/content/public/test/text_input_test_utils.cc
|
| index 895f7b743d0bee0f76c7df4b0aa4641cdf921927..e3282b49f2a2677f443018e9cb12365f7ddbc5b9 100644
|
| --- a/content/public/test/text_input_test_utils.cc
|
| +++ b/content/public/test/text_input_test_utils.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "content/public/test/text_input_test_utils.h"
|
|
|
| +#include "content/browser/renderer_host/render_widget_host_impl.h"
|
| #include "content/browser/renderer_host/render_widget_host_view_aura.h"
|
| #include "content/browser/renderer_host/render_widget_host_view_base.h"
|
| #include "content/browser/renderer_host/render_widget_host_view_base_observer.h"
|
| @@ -202,7 +203,7 @@ bool GetTextInputTypeForView(WebContents* web_contents,
|
| RenderWidgetHostView* GetActiveViewFromWebContents(WebContents* web_contents) {
|
| return static_cast<WebContentsImpl*>(web_contents)
|
| ->GetTextInputManager()
|
| - ->GetActiveView();
|
| + ->active_view_for_testing();
|
| }
|
|
|
| TextInputManagerTester::TextInputManagerTester(WebContents* web_contents)
|
| @@ -237,7 +238,7 @@ bool TextInputManagerTester::GetTextInputValue(std::string* value) {
|
|
|
| const RenderWidgetHostView* TextInputManagerTester::GetActiveView() {
|
| DCHECK(observer_->text_input_manager());
|
| - return observer_->text_input_manager()->GetActiveView();
|
| + return observer_->text_input_manager()->active_view_for_testing();
|
| }
|
|
|
| const RenderWidgetHostView* TextInputManagerTester::GetUpdatedView() {
|
|
|