| Index: components/plugins/renderer/webview_plugin.cc
|
| diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
|
| index 3bb9a8acf1222bb36acab4b5ef9dcab588a4066d..3aecdaf89384eb296d9786dd2f79c106f8ff417e 100644
|
| --- a/components/plugins/renderer/webview_plugin.cc
|
| +++ b/components/plugins/renderer/webview_plugin.cc
|
| @@ -350,6 +350,14 @@ void WebViewPlugin::WebViewHelper::DidClearWindowObject() {
|
| plugin_->delegate_->GetV8Handle(isolate));
|
| }
|
|
|
| +void WebViewPlugin::WebViewHelper::FrameDetached(blink::WebLocalFrame* frame,
|
| + DetachType type) {
|
| + if (frame->FrameWidget())
|
| + frame->FrameWidget()->Close();
|
| +
|
| + frame->Close();
|
| +}
|
| +
|
| void WebViewPlugin::OnZoomLevelChanged() {
|
| if (container_) {
|
| web_view()->SetZoomLevel(
|
|
|