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:
Mark Mentovai 2016-01-06 12:15:00 -05:00
parent 18a2941305
commit c46a676624

View File

@ -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() {}