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

Unified Diff: cc/tiles/tile_priority.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_manager_unittest.cc ('k') | cc/trees/blocking_task_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_priority.h
diff --git a/cc/tiles/tile_priority.h b/cc/tiles/tile_priority.h
index 023fac53cf04244c9ca20666e10fe462084e8cbe..cf0bbd138179ef61f4819944206bec1406b25db7 100644
--- a/cc/tiles/tile_priority.h
+++ b/cc/tiles/tile_priority.h
@@ -9,9 +9,9 @@
#include <algorithm>
#include <limits>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "base/trace_event/trace_event_argument.h"
#include "cc/base/cc_export.h"
@@ -29,7 +29,7 @@ enum WhichTree {
LAST_TREE = 1
// Be sure to update WhichTreeAsValue when adding new fields.
};
-scoped_ptr<base::Value> WhichTreeAsValue(WhichTree tree);
+std::unique_ptr<base::Value> WhichTreeAsValue(WhichTree tree);
enum TileResolution {
LOW_RESOLUTION = 0 ,
« no previous file with comments | « cc/tiles/tile_manager_unittest.cc ('k') | cc/trees/blocking_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698