summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_menu_bridge.h
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 00:37:19 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 00:37:19 +0000
commit668eb917cde85fddb2267325de95aa45f60e1c93 (patch)
treec84d3a5b3d7339fc68d506b6c1dfa873eb0cf4b9 /chrome/browser/cocoa/bookmark_menu_bridge.h
parent1a8ec651dfb8d68f3a0b2073e80bc9fae7fe8c31 (diff)
downloadchromium_src-668eb917cde85fddb2267325de95aa45f60e1c93.zip
chromium_src-668eb917cde85fddb2267325de95aa45f60e1c93.tar.gz
chromium_src-668eb917cde85fddb2267325de95aa45f60e1c93.tar.bz2
Fix leaks found by valgrind (which now works on the Mac!)
http://code.google.com/p/chromium/issues/detail?id=9376 Review URL: http://codereview.chromium.org/53116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_menu_bridge.h')
-rw-r--r--chrome/browser/cocoa/bookmark_menu_bridge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/bookmark_menu_bridge.h b/chrome/browser/cocoa/bookmark_menu_bridge.h
index 23c1d47..7c4565c 100644
--- a/chrome/browser/cocoa/bookmark_menu_bridge.h
+++ b/chrome/browser/cocoa/bookmark_menu_bridge.h
@@ -76,6 +76,7 @@ class BookmarkMenuBridge : public BookmarkModelObserver,
friend class BookmarkMenuBridgeTest;
BookmarkMenuCocoaController* controller_; // strong
+ bool observing_; // are we observing the browser list?
};
#endif // CHROME_BROWSER_COCOA_BOOKMARK_MENU_BRIDGE_H_