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

Unified Diff: cc/raster/texture_compressor.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/task_graph_runner_perftest.cc ('k') | cc/raster/texture_compressor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/texture_compressor.h
diff --git a/cc/raster/texture_compressor.h b/cc/raster/texture_compressor.h
index 95536bcb40c6b16c470f0f610a701575c05529e3..36a5a8d5abb80a891491436c5678a95b7e880548 100644
--- a/cc/raster/texture_compressor.h
+++ b/cc/raster/texture_compressor.h
@@ -7,8 +7,9 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
namespace cc {
@@ -25,7 +26,7 @@ class CC_EXPORT TextureCompressor {
kQualityHigh,
};
- static scoped_ptr<TextureCompressor> Create(Format format);
+ static std::unique_ptr<TextureCompressor> Create(Format format);
virtual ~TextureCompressor() {}
virtual void Compress(const uint8_t* src,
« no previous file with comments | « cc/raster/task_graph_runner_perftest.cc ('k') | cc/raster/texture_compressor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698