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

Unified Diff: chrome/browser/ui/cocoa/browser/avatar_button.mm

Issue 7321011: Multi-Profiles: Add delete profile command (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove debug code Created 9 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
Index: chrome/browser/ui/cocoa/browser/avatar_button.mm
diff --git a/chrome/browser/ui/cocoa/browser/avatar_button.mm b/chrome/browser/ui/cocoa/browser/avatar_button.mm
index bc77057d2f8e640bcca8810d7de029e5b50282e4..04c94f3f0af01472e63f5797f8489c69fa06c02c 100644
--- a/chrome/browser/ui/cocoa/browser/avatar_button.mm
+++ b/chrome/browser/ui/cocoa/browser/avatar_button.mm
@@ -28,7 +28,7 @@
// TODO(rsesek): Eventually the PMM will require a Browser so the BWC
// is plumbed here for that reason. SAIL WILL DO THIS!!1!!1
controller_ = bwc;
- model_.reset(new ProfileMenuModel());
+ model_.reset(new ProfileMenuModel([controller_ profile]));
menuController_.reset(
[[MenuController alloc] initWithModel:model_.get()
useWithPopUpButtonCell:NO]);

Powered by Google App Engine
This is Rietveld 408576698