Index: content/browser/frame_host/interstitial_page_impl.cc |
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc |
index 2d20802c43b69f612930dd74fb3d86faddb536d4..66c1ab56241644c7eeed0658ca3ca542772a1bfa 100644 |
--- a/content/browser/frame_host/interstitial_page_impl.cc |
+++ b/content/browser/frame_host/interstitial_page_impl.cc |
@@ -29,6 +29,7 @@ |
#include "content/browser/renderer_host/render_view_host_factory.h" |
#include "content/browser/renderer_host/render_view_host_impl.h" |
#include "content/browser/renderer_host/render_widget_host_view_base.h" |
+#include "content/browser/renderer_host/text_input_manager.h" |
#include "content/browser/site_instance_impl.h" |
#include "content/browser/web_contents/web_contents_impl.h" |
#include "content/browser/web_contents/web_contents_view.h" |
@@ -937,4 +938,9 @@ void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { |
interstitial_->OnNavigatingAwayOrTabClosing(); |
} |
+TextInputManager* InterstitialPageImpl::GetTextInputManager() { |
+ return !web_contents_ ? nullptr : static_cast<WebContentsImpl*>(web_contents_) |
+ ->GetTextInputManager(); |
+} |
+ |
} // namespace content |