| Index: third_party/crashpad/crashpad/handler/prune_crash_reports_thread.h
|
| diff --git a/third_party/crashpad/crashpad/handler/prune_crash_reports_thread.h b/third_party/crashpad/crashpad/handler/prune_crash_reports_thread.h
|
| index fbdda52778dd924392dd77d7b453ba198b3fa075..72b69fc640d8cc83bd69e7d37e703cf8d8f8c30a 100644
|
| --- a/third_party/crashpad/crashpad/handler/prune_crash_reports_thread.h
|
| +++ b/third_party/crashpad/crashpad/handler/prune_crash_reports_thread.h
|
| @@ -15,8 +15,9 @@
|
| #ifndef CRASHPAD_HANDLER_PRUNE_CRASH_REPORTS_THREAD_H_
|
| #define CRASHPAD_HANDLER_PRUNE_CRASH_REPORTS_THREAD_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "util/thread/worker_thread.h"
|
|
|
| namespace crashpad {
|
| @@ -38,7 +39,7 @@ class PruneCrashReportThread : public WorkerThread::Delegate {
|
| //! \param[in] condition The condition used to evaluate crash reports for
|
| //! pruning.
|
| PruneCrashReportThread(CrashReportDatabase* database,
|
| - scoped_ptr<PruneCondition> condition);
|
| + std::unique_ptr<PruneCondition> condition);
|
| ~PruneCrashReportThread();
|
|
|
| //! \brief Starts a dedicated pruning thread.
|
| @@ -64,7 +65,7 @@ class PruneCrashReportThread : public WorkerThread::Delegate {
|
| void DoWork(const WorkerThread* thread) override;
|
|
|
| WorkerThread thread_;
|
| - scoped_ptr<PruneCondition> condition_;
|
| + std::unique_ptr<PruneCondition> condition_;
|
| CrashReportDatabase* database_; // weak
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PruneCrashReportThread);
|
|
|