Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1227)

Unified Diff: third_party/crashpad/crashpad/util/thread/worker_thread.h

Issue 1911823002: Convert //third_party from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update crashpad's README.chromium Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/crashpad/crashpad/util/thread/worker_thread.h
diff --git a/third_party/crashpad/crashpad/util/thread/worker_thread.h b/third_party/crashpad/crashpad/util/thread/worker_thread.h
index 748c99f5de17e18ea76ae2d62caf6e869e72b77f..321d9184353433ef749e13d2f8533afd070d48bb 100644
--- a/third_party/crashpad/crashpad/util/thread/worker_thread.h
+++ b/third_party/crashpad/crashpad/util/thread/worker_thread.h
@@ -15,8 +15,9 @@
#ifndef CRASHPAD_UTIL_THREAD_WORKER_THREAD_H_
#define CRASHPAD_UTIL_THREAD_WORKER_THREAD_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace crashpad {
@@ -82,7 +83,7 @@ class WorkerThread {
double work_interval_;
Delegate* delegate_; // weak
- scoped_ptr<internal::WorkerThreadImpl> impl_;
+ std::unique_ptr<internal::WorkerThreadImpl> impl_;
bool running_;
DISALLOW_COPY_AND_ASSIGN(WorkerThread);

Powered by Google App Engine
This is Rietveld 408576698