Pass FilePath by reference in CrashReportDatabase.

Missing &.

Change-Id: I3a5b14cecb6fe6e7c9e44f79b00101b15157a856
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>
This commit is contained in:
Justin Cohen 2021-05-27 11:35:47 -04:00 committed by Crashpad LUCI CQ
parent ce378c4293
commit 1d45a4bafb
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ CrashReportDatabase::UploadReport::~UploadReport() {
}
}
bool CrashReportDatabase::UploadReport::Initialize(const base::FilePath path,
bool CrashReportDatabase::UploadReport::Initialize(const base::FilePath& path,
CrashReportDatabase* db) {
database_ = db;
InitializeAttachments();

View File

@ -181,7 +181,7 @@ class CrashReportDatabase {
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_;