diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 22:17:42 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 22:17:42 +0000 |
commit | c9ed2dac1ab2d96894ecc1abd7bac9558346d893 (patch) | |
tree | 34c35b3812a72d7b1a28f3c912bf69cfe1db8161 /chrome/app/breakpad.cc | |
parent | 89fe216da236a9930cfab994a67e3110575e6e87 (diff) | |
download | chromium_src-c9ed2dac1ab2d96894ecc1abd7bac9558346d893.zip chromium_src-c9ed2dac1ab2d96894ecc1abd7bac9558346d893.tar.gz chromium_src-c9ed2dac1ab2d96894ecc1abd7bac9558346d893.tar.bz2 |
change a str pass by value. Words fail me to describe this CL better
- Yes it is silly
- Yes it bothers me every time I see it.
Review URL: http://codereview.chromium.org/27155
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad.cc')
-rw-r--r-- | chrome/app/breakpad.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/app/breakpad.cc b/chrome/app/breakpad.cc index 540127a..19071ac 100644 --- a/chrome/app/breakpad.cc +++ b/chrome/app/breakpad.cc @@ -239,7 +239,7 @@ void InitDefaultCrashCallback() { previous_filter = SetUnhandledExceptionFilter(ChromeExceptionFilter); } -void InitCrashReporter(std::wstring dll_path) { +void InitCrashReporter(const std::wstring& dll_path) { const CommandLine& command = *CommandLine::ForCurrentProcess(); if (!command.HasSwitch(switches::kDisableBreakpad)) { // Disable the message box for assertions. |