mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
Use std::move() in PruneCrashReportThread
Crashpad uses std::move() as of 6bebb1082933. scoped_ptr<>::Pass() will be unavailable once mini_chromium is updated to or past e128dcf10122. R=rsesek@chromium.org Review URL: https://codereview.chromium.org/1562793002 .
This commit is contained in:
parent
18a2941305
commit
c46a676624
@ -14,6 +14,8 @@
|
||||
|
||||
#include "handler/prune_crash_reports_thread.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "client/prune_crash_reports.h"
|
||||
|
||||
namespace crashpad {
|
||||
@ -22,7 +24,7 @@ PruneCrashReportThread::PruneCrashReportThread(
|
||||
CrashReportDatabase* database,
|
||||
scoped_ptr<PruneCondition> condition)
|
||||
: thread_(60 * 60 * 24, this),
|
||||
condition_(condition.Pass()),
|
||||
condition_(std::move(condition)),
|
||||
database_(database) {}
|
||||
|
||||
PruneCrashReportThread::~PruneCrashReportThread() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user