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

Unified Diff: cc/test/test_texture.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/test/test_shared_bitmap_manager.cc ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_texture.h
diff --git a/cc/test/test_texture.h b/cc/test/test_texture.h
index 6661aede16f72f87cfe26786346b36481551eb89..ae819ec50c57655b6f9409d57e9c2dc60b62b633 100644
--- a/cc/test/test_texture.h
+++ b/cc/test/test_texture.h
@@ -8,10 +8,10 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include <unordered_map>
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "cc/resources/resource_format.h"
#include "third_party/khronos/GLES2/gl2.h"
#include "ui/gfx/geometry/size.h"
@@ -28,7 +28,7 @@ struct TestTexture : public base::RefCounted<TestTexture> {
gfx::Size size;
ResourceFormat format;
- scoped_ptr<uint8_t[]> data;
+ std::unique_ptr<uint8_t[]> data;
using TextureParametersMap = std::unordered_map<GLenum, GLint>;
TextureParametersMap params;
« no previous file with comments | « cc/test/test_shared_bitmap_manager.cc ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698