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

Unified Diff: cc/raster/scoped_gpu_raster_unittest.cc

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.h ('k') | cc/raster/single_thread_task_graph_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/scoped_gpu_raster_unittest.cc
diff --git a/cc/raster/scoped_gpu_raster_unittest.cc b/cc/raster/scoped_gpu_raster_unittest.cc
index 7ffb464176dcd39e141d5a750d88b1805fac1410..0451d412fc2f62b3ab592b553a82c4e612f493fa 100644
--- a/cc/raster/scoped_gpu_raster_unittest.cc
+++ b/cc/raster/scoped_gpu_raster_unittest.cc
@@ -24,7 +24,7 @@ TEST(ScopedGpuRasterTest, RestoresUnpackAlignment) {
EXPECT_EQ(4, unpack_alignment);
{
- scoped_ptr<ScopedGpuRaster> scoped_gpu_raster(
+ std::unique_ptr<ScopedGpuRaster> scoped_gpu_raster(
new ScopedGpuRaster(provider.get()));
gl->PixelStorei(GL_UNPACK_ALIGNMENT, 1);
gl->GetIntegerv(GL_UNPACK_ALIGNMENT, &unpack_alignment);
« no previous file with comments | « cc/raster/scoped_gpu_raster.h ('k') | cc/raster/single_thread_task_graph_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698