summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorerikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-06 18:08:08 +0000
committererikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-06 18:08:08 +0000
commit5e222a04a5f6ed8702d842780060f72bcd20421d (patch)
tree3919b79213ae71a4c8cf89c2dab3753befc17f15 /chrome
parent7af739f9438aa3b3a9f01d69828576e7a44bb9fb (diff)
downloadchromium_src-5e222a04a5f6ed8702d842780060f72bcd20421d.zip
chromium_src-5e222a04a5f6ed8702d842780060f72bcd20421d.tar.gz
chromium_src-5e222a04a5f6ed8702d842780060f72bcd20421d.tar.bz2
Fix for a DCHECK regression introduced by http://codereview.chromium.org/112001
Code was removing itself as an observer for something it was no longer observing. TEST=interactive_ui_tests.exe --gtest_filter=BookmarkBarViewTest1.Basic TBR=sky Review URL: http://codereview.chromium.org/113037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/bookmark_bar_view.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/views/bookmark_bar_view.cc b/chrome/browser/views/bookmark_bar_view.cc
index df3e0c4..e377397 100644
--- a/chrome/browser/views/bookmark_bar_view.cc
+++ b/chrome/browser/views/bookmark_bar_view.cc
@@ -1310,8 +1310,6 @@ void BookmarkBarView::RemoveNotificationObservers() {
ns->RemoveObserver(this,
NotificationType::BOOKMARK_BAR_VISIBILITY_PREF_CHANGED,
NotificationService::AllSources());
- ns->RemoveObserver(this, NotificationType::EXTENSIONS_LOADED,
- NotificationService::AllSources());
}
void BookmarkBarView::NotifyModelChanged() {