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

Unified Diff: chrome/browser/views/extensions/extension_view.cc

Issue 147051: Clean up a few startup and shutdown dependencies which should fix some of the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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: chrome/browser/views/extensions/extension_view.cc
===================================================================
--- chrome/browser/views/extensions/extension_view.cc (revision 19019)
+++ chrome/browser/views/extensions/extension_view.cc (working copy)
@@ -20,6 +20,9 @@
}
ExtensionView::~ExtensionView() {
+ View* parent = GetParent();
+ if (parent)
+ parent->RemoveChildView(this);
CleanUp();
}
« chrome/browser/extensions/extension_shelf_model_unittest.cc ('K') | « chrome/browser/profile.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698