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

Unified Diff: media/gpu/ipc/client/gpu_jpeg_decode_accelerator_host.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 | « gpu/vulkan/vulkan_swap_chain.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/ipc/client/gpu_jpeg_decode_accelerator_host.h
diff --git a/media/gpu/ipc/client/gpu_jpeg_decode_accelerator_host.h b/media/gpu/ipc/client/gpu_jpeg_decode_accelerator_host.h
index ec9a00c5f890f67549d75470ec73c36892854000..ca16f1744f217ffe36bc61d91427bc312c1cbba4 100644
--- a/media/gpu/ipc/client/gpu_jpeg_decode_accelerator_host.h
+++ b/media/gpu/ipc/client/gpu_jpeg_decode_accelerator_host.h
@@ -7,6 +7,8 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/non_thread_safe.h"
@@ -66,7 +68,7 @@ class GpuJpegDecodeAcceleratorHost : public JpegDecodeAccelerator,
// GPU IO task runner.
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
- scoped_ptr<Receiver> receiver_;
+ std::unique_ptr<Receiver> receiver_;
DISALLOW_COPY_AND_ASSIGN(GpuJpegDecodeAcceleratorHost);
};
« no previous file with comments | « gpu/vulkan/vulkan_swap_chain.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698