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 929d2ec11e364238b6756e98351a8717d9476da1..036f3ea83dfeef00e0cfb1b00977b31ffbb91307 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" |
@@ -940,4 +941,9 @@ void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { |
interstitial_->OnNavigatingAwayOrTabClosing(); |
} |
+TextInputManager* InterstitialPageImpl::GetTextInputManager() { |
+ return !web_contents_ ? nullptr : static_cast<WebContentsImpl*>(web_contents_) |
+ ->GetTextInputManager(); |
+} |
+ |
} // namespace content |