Index: handler/prune_crash_reports_thread.cc |
diff --git a/handler/prune_crash_reports_thread.cc b/handler/prune_crash_reports_thread.cc |
index be3631f36e65a683d2fa070269614c9fa3761da0..e6f3a8b02649ff83559c977d0200b64e62c5e2e6 100644 |
--- a/handler/prune_crash_reports_thread.cc |
+++ b/handler/prune_crash_reports_thread.cc |
@@ -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() {} |