mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-17 16:43:53 +00: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) {
|
CrashReportDatabase* db) {
|
||||||
database_ = db;
|
database_ = db;
|
||||||
InitializeAttachments();
|
InitializeAttachments();
|
||||||
|
@ -181,7 +181,7 @@ class CrashReportDatabase {
|
|||||||
friend class CrashReportDatabaseMac;
|
friend class CrashReportDatabaseMac;
|
||||||
friend class CrashReportDatabaseWin;
|
friend class CrashReportDatabaseWin;
|
||||||
|
|
||||||
bool Initialize(const base::FilePath path, CrashReportDatabase* database);
|
bool Initialize(const base::FilePath& path, CrashReportDatabase* database);
|
||||||
void InitializeAttachments();
|
void InitializeAttachments();
|
||||||
|
|
||||||
std::unique_ptr<FileReader> reader_;
|
std::unique_ptr<FileReader> reader_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user