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

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

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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/profile_menu_controller.mm
diff --git a/chrome/browser/ui/cocoa/profile_menu_controller.mm b/chrome/browser/ui/cocoa/profile_menu_controller.mm
index 5446f5e7616890952deedc97847e10b676268823..a0398fba148af60c43c0810743dbd21d8c31f3f8 100644
--- a/chrome/browser/ui/cocoa/profile_menu_controller.mm
+++ b/chrome/browser/ui/cocoa/profile_menu_controller.mm
@@ -31,7 +31,8 @@ namespace ProfileMenuControllerInternal {
class Observer : public chrome::BrowserListObserver,
public AvatarMenuModelObserver {
public:
- Observer(ProfileMenuController* controller) : controller_(controller) {
+ explicit Observer(ProfileMenuController* controller)
+ : controller_(controller) {
BrowserList::AddObserver(this);
}
« no previous file with comments | « chrome/browser/ui/cocoa/panels/panel_cocoa_unittest.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698