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

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: Minor fix to tear down Created 7 years, 7 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 d8e4d6e21caa423232c2a17eca697dcb5679e589..b0c69f70bf37825043378573957b1cabbd64499d 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -337,6 +337,9 @@ WebContentsImpl::~WebContentsImpl() {
if (color_chooser_)
color_chooser_->End();
+ if (browser_plugin_guest_)
+ browser_plugin_guest_->Destroy();
Charlie Reis 2013/05/17 21:13:00 Is this something new that we didn't need before,
+
NotifyDisconnected();
// Notify any observer that have a reference on this WebContents.
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/common/browser_plugin/browser_plugin_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698