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

Unified Diff: chrome/browser/ui/cocoa/profiles/user_manager_mac.mm

Issue 1349783006: Cleanup: Pass std::string as const reference if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert third_party changes Created 5 years, 3 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/profiles/user_manager_mac.mm
diff --git a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
index 9cd790f7b9d6de890243873c086ffe9bec6ebad5..3a34663b15e1c9b00cebcb53b63c959d42c25f08 100644
--- a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
+++ b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
@@ -142,7 +142,8 @@ class ReauthDialogDelegate : public UserManager::ReauthDialogObserver,
public UserManagerWebContentsDelegate,
public ConstrainedWindowMacDelegate {
public:
- ReauthDialogDelegate(content::WebContents* web_contents, std::string email)
+ ReauthDialogDelegate(content::WebContents* web_contents,
+ const std::string& email)
: UserManager::ReauthDialogObserver(web_contents, email) {}
// UserManager::ReauthDialogObserver:

Powered by Google App Engine
This is Rietveld 408576698