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

Unified Diff: gpu/ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo part of clang-format 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
Index: gpu/ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc
diff --git a/gpu/ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc b/gpu/ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc
index 3f9d8984f09d5fa04e586c933163eb437958a20b..0a7e20e683e4e0d2e881aee8b3863ddedb51fda4 100644
--- a/gpu/ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc
@@ -23,7 +23,7 @@ TEST(GpuMemoryBufferImplSharedMemoryTest, Create) {
for (auto format : gfx::GetBufferFormatsForTesting()) {
bool destroyed = false;
- scoped_ptr<GpuMemoryBufferImplSharedMemory> buffer(
+ std::unique_ptr<GpuMemoryBufferImplSharedMemory> buffer(
GpuMemoryBufferImplSharedMemory::Create(
kBufferId, buffer_size, format,
base::Bind(&BufferDestroyed, base::Unretained(&destroyed))));

Powered by Google App Engine
This is Rietveld 408576698