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

Unified Diff: chrome/browser/ui/views/compact_nav/compact_options_bar.h

Issue 7720012: Moves ownership of MenuItemView to MenuRunner as well as responbility (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 9 years, 4 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/ui/views/compact_nav/compact_options_bar.h
diff --git a/chrome/browser/ui/views/compact_nav/compact_options_bar.h b/chrome/browser/ui/views/compact_nav/compact_options_bar.h
index 5cff9685d396c17ba8fbfaea0fecf4bf851e7991..13e1518c924dd4b0fc2b1b1cc04166c548cbc0d2 100644
--- a/chrome/browser/ui/views/compact_nav/compact_options_bar.h
+++ b/chrome/browser/ui/views/compact_nav/compact_options_bar.h
@@ -70,7 +70,7 @@ class CompactOptionsBar : public views::View,
// Button and models for the wrench/app menu.
views::MenuButton* app_menu_;
scoped_ptr<ui::SimpleMenuModel> wrench_menu_model_;
- scoped_refptr<WrenchMenu> wrench_menu_;
+ scoped_ptr<WrenchMenu> wrench_menu_;
std::vector<views::MenuListener*> menu_listeners_;
// TODO(stevet): Add the BrowserActionsContainer.

Powered by Google App Engine
This is Rietveld 408576698