| Index: content/browser/frame_host/render_widget_host_view_guest.cc
|
| diff --git a/content/browser/frame_host/render_widget_host_view_guest.cc b/content/browser/frame_host/render_widget_host_view_guest.cc
|
| index 41e31c0ac5e2bfd9561dcf0ac7009285675b2194..e90f44bd0b1374dbaaf8b8fcf1d0e9953c08ed78 100644
|
| --- a/content/browser/frame_host/render_widget_host_view_guest.cc
|
| +++ b/content/browser/frame_host/render_widget_host_view_guest.cc
|
| @@ -348,6 +348,18 @@
|
| platform_view_->SetIsLoading(is_loading);
|
| }
|
|
|
| +void RenderWidgetHostViewGuest::TextInputStateChanged(
|
| + const ViewHostMsg_TextInputState_Params& params) {
|
| + if (!guest_)
|
| + return;
|
| +
|
| + RenderWidgetHostViewBase* rwhv = GetOwnerRenderWidgetHostView();
|
| + if (!rwhv)
|
| + return;
|
| + // Forward the information to embedding RWHV.
|
| + rwhv->TextInputStateChanged(params);
|
| +}
|
| +
|
| void RenderWidgetHostViewGuest::ImeCancelComposition() {
|
| if (!guest_)
|
| return;
|
| @@ -493,10 +505,6 @@
|
| // Let our observers know we're going away, since we don't want any event
|
| // processing calls coming in after we release host_.
|
| NotifyObserversAboutShutdown();
|
| -
|
| - // The WebContentsImpl should be notified about us so that it will not hold
|
| - // an invalid text input state which was due to active text on this view.
|
| - NotifyHostDelegateAboutShutdown();
|
|
|
| host_->SetView(NULL);
|
| host_ = NULL;
|
|
|