Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 12189018: <webview>: Implement WebRequest API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Diff from latest patch Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 353a33a0f0f6d343983c38bfdb7c0bb00bfb2775..f2989e97950946f92097d7ffaa4aedf04608f756 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -341,6 +341,9 @@ WebContentsImpl::~WebContentsImpl() {
if (color_chooser_)
color_chooser_->End();
+ if (browser_plugin_guest_)
+ browser_plugin_guest_->Destroy();
+
NotifyDisconnected();
// Notify any observer that have a reference on this WebContents.

Powered by Google App Engine
This is Rietveld 408576698