From 4b14d07f99813eee85d240a91f6ccf132e5dfd89 Mon Sep 17 00:00:00 2001 From: "sra@chromium.org" Date: Wed, 22 Jul 2009 04:41:27 +0000 Subject: Coverity fixit changes None of these fix known bugs * pass string by reference * initialize _int_value field (even though guarded by _is_string) BUG=none TEST=none Review URL: http://codereview.chromium.org/155838 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21265 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/installer/util/shell_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/installer/util/shell_util.h') diff --git a/chrome/installer/util/shell_util.h b/chrome/installer/util/shell_util.h index b294f85..a834496c 100644 --- a/chrome/installer/util/shell_util.h +++ b/chrome/installer/util/shell_util.h @@ -177,7 +177,7 @@ class ShellUtil { // as default only for the current user. // chrome_exe: The chrome.exe path to register as default browser. static bool MakeChromeDefault(int shell_change, - const std::wstring chrome_exe); + const std::wstring& chrome_exe); // Remove Chrome shortcut from Desktop. // If shell_change is CURRENT_USER, the shortcut is removed from the -- cgit v1.1