summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles
diff options
context:
space:
mode:
authorscr@chromium.org <scr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-20 22:18:41 +0000
committerscr@chromium.org <scr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-20 22:18:41 +0000
commit96c7356cea07564310b47e1cd268fe8fed048453 (patch)
tree001d339f08025d791498206c296ff157d7cbe642 /chrome/browser/profiles
parent837c4f559f45a1b66c1e6af28924ce51a1133c03 (diff)
downloadchromium_src-96c7356cea07564310b47e1cd268fe8fed048453.zip
chromium_src-96c7356cea07564310b47e1cd268fe8fed048453.tar.gz
chromium_src-96c7356cea07564310b47e1cd268fe8fed048453.tar.bz2
Coverity fix PASS_BY_VALUE.
R=mirandac@chromium.org CID=102479 BUG= TEST= Review URL: http://codereview.chromium.org/9008023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115198 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles')
-rw-r--r--chrome/browser/profiles/profile_shortcut_manager_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profiles/profile_shortcut_manager_win.cc b/chrome/browser/profiles/profile_shortcut_manager_win.cc
index 1969139..5b4d4b8 100644
--- a/chrome/browser/profiles/profile_shortcut_manager_win.cc
+++ b/chrome/browser/profiles/profile_shortcut_manager_win.cc
@@ -42,7 +42,7 @@ const int kShortcutIconSize = 48;
// Creates the argument to pass to the Windows executable that launches Chrome
// with the profile in |profile_base_dir|.
// For example: --profile-directory="Profile 2"
-string16 CreateProfileShortcutSwitch(string16 profile_base_dir) {
+string16 CreateProfileShortcutSwitch(const string16& profile_base_dir) {
string16 profile_directory = base::StringPrintf(L"--%ls=\"%ls\"",
ASCIIToUTF16(switches::kProfileDirectory).c_str(),
profile_base_dir.c_str());