summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/app/breakpad.cc2
-rw-r--r--chrome/app/breakpad.h2
2 files changed, 2 insertions, 2 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.
diff --git a/chrome/app/breakpad.h b/chrome/app/breakpad.h
index 8250b4b..daa3d77 100644
--- a/chrome/app/breakpad.h
+++ b/chrome/app/breakpad.h
@@ -10,7 +10,7 @@
// Calls InitCrashReporterThread in it's own thread for the browser process
// or directly for the plugin and renderer process.
-void InitCrashReporter(std::wstring dll_path);
+void InitCrashReporter(const std::wstring& dll_path);
// Intercepts a crash but does not process it, just ask if we want to restart
// the browser or not.