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

Unified Diff: chrome/browser/ui/browser_list_impl.cc

Issue 10692195: Consolidate Browser Creation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « chrome/browser/ui/browser_finder.cc ('k') | chrome/browser/ui/browser_list_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_list_impl.cc
===================================================================
--- chrome/browser/ui/browser_list_impl.cc (revision 148382)
+++ chrome/browser/ui/browser_list_impl.cc (working copy)
@@ -95,12 +95,7 @@
RemoveBrowserFrom(browser, &browsers_);
- // Do some basic checking to try to catch evil observers
- // that change the list from under us.
- size_t original_count = observers_.size();
FOR_EACH_OBSERVER(BrowserListObserver, observers_, OnBrowserRemoved(browser));
- DCHECK_EQ(original_count, observers_.size())
- << "observer list modified during notification";
g_browser_process->ReleaseModule();
« no previous file with comments | « chrome/browser/ui/browser_finder.cc ('k') | chrome/browser/ui/browser_list_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698