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

Unified Diff: cc/trees/blocking_task_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/tiles/tile_priority.h ('k') | cc/trees/blocking_task_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/blocking_task_runner.h
diff --git a/cc/trees/blocking_task_runner.h b/cc/trees/blocking_task_runner.h
index a0101766671a3fb77b80baae032c2b5ec0ba7bc2..515cb2589453d7c8e0a9a7c30bff4a0559f61158 100644
--- a/cc/trees/blocking_task_runner.h
+++ b/cc/trees/blocking_task_runner.h
@@ -5,11 +5,11 @@
#ifndef CC_TREES_BLOCKING_TASK_RUNNER_H_
#define CC_TREES_BLOCKING_TASK_RUNNER_H_
+#include <memory>
#include <vector>
#include "base/location.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/single_thread_task_runner.h"
#include "base/synchronization/lock.h"
#include "base/threading/platform_thread.h"
@@ -48,7 +48,7 @@ class CC_EXPORT BlockingTaskRunner {
// |task_runner| will be used to run the tasks which are posted while we are
// not capturing. |task_runner| should belong to same the thread on which
// capturing is done.
- static scoped_ptr<BlockingTaskRunner> Create(
+ static std::unique_ptr<BlockingTaskRunner> Create(
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
~BlockingTaskRunner();
« no previous file with comments | « cc/tiles/tile_priority.h ('k') | cc/trees/blocking_task_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698