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

Unified Diff: cc/raster/single_thread_task_graph_runner.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase 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
« no previous file with comments | « cc/raster/scoped_gpu_raster_unittest.cc ('k') | cc/raster/staging_buffer_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/single_thread_task_graph_runner.h
diff --git a/cc/raster/single_thread_task_graph_runner.h b/cc/raster/single_thread_task_graph_runner.h
index 3e8dec076e02af36a9e7c6eb64bd13438c32f499..a8609cb25c0b292684d799ecce1210981c684537 100644
--- a/cc/raster/single_thread_task_graph_runner.h
+++ b/cc/raster/single_thread_task_graph_runner.h
@@ -5,7 +5,8 @@
#ifndef CC_RASTER_SINGLE_THREAD_TASK_GRAPH_RUNNER_H_
#define CC_RASTER_SINGLE_THREAD_TASK_GRAPH_RUNNER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/synchronization/condition_variable.h"
#include "base/threading/simple_thread.h"
#include "cc/raster/task_graph_runner.h"
@@ -43,7 +44,7 @@ class CC_EXPORT SingleThreadTaskGraphRunner
// Returns true if there was a task to run.
bool RunTaskWithLockAcquired();
- scoped_ptr<base::SimpleThread> thread_;
+ std::unique_ptr<base::SimpleThread> thread_;
// Lock to exclusively access all the following members that are used to
// implement the TaskRunner interfaces.
« no previous file with comments | « cc/raster/scoped_gpu_raster_unittest.cc ('k') | cc/raster/staging_buffer_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698