diff options
author | sra@chromium.org <sra@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-22 04:41:27 +0000 |
---|---|---|
committer | sra@chromium.org <sra@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-22 04:41:27 +0000 |
commit | 4b14d07f99813eee85d240a91f6ccf132e5dfd89 (patch) | |
tree | 92235d4673e9b5c1745974ce4a046f93415b850f /chrome/installer/util/shell_util.h | |
parent | de643683ad556728e5448323a45a6365daabcf9c (diff) | |
download | chromium_src-4b14d07f99813eee85d240a91f6ccf132e5dfd89.zip chromium_src-4b14d07f99813eee85d240a91f6ccf132e5dfd89.tar.gz chromium_src-4b14d07f99813eee85d240a91f6ccf132e5dfd89.tar.bz2 |
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
Diffstat (limited to 'chrome/installer/util/shell_util.h')
-rw-r--r-- | chrome/installer/util/shell_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |