Pass FilePath by reference in CrashReportDatabase.

Missing &.

Change-Id: Iaf27c65267008d41528ae05b0107c5e542edb8bc
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2920553
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
GitOrigin-RevId: 1d45a4bafb538b4c88c5edb541f23b098a73ac11
diff --git a/client/crash_report_database.cc b/client/crash_report_database.cc
index 122e62e..6839333 100644
--- a/client/crash_report_database.cc
+++ b/client/crash_report_database.cc
@@ -87,7 +87,7 @@
   }
 }
 
-bool CrashReportDatabase::UploadReport::Initialize(const base::FilePath path,
+bool CrashReportDatabase::UploadReport::Initialize(const base::FilePath& path,
                                                    CrashReportDatabase* db) {
   database_ = db;
   InitializeAttachments();
diff --git a/client/crash_report_database.h b/client/crash_report_database.h
index ce317f7..2cec726 100644
--- a/client/crash_report_database.h
+++ b/client/crash_report_database.h
@@ -181,7 +181,7 @@
     friend class CrashReportDatabaseMac;
     friend class CrashReportDatabaseWin;
 
-    bool Initialize(const base::FilePath path, CrashReportDatabase* database);
+    bool Initialize(const base::FilePath& path, CrashReportDatabase* database);
     void InitializeAttachments();
 
     std::unique_ptr<FileReader> reader_;