mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-28 15:50:26 +08:00
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:
parent
ce378c4293
commit
1d45a4bafb
@ -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();
|
||||
|
@ -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_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user