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

Unified Diff: ui/ozone/public/ozone_gpu_test_helper.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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 | « ui/ozone/public/overlay_manager_ozone.h ('k') | ui/ozone/public/ozone_platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/ozone_gpu_test_helper.h
diff --git a/ui/ozone/public/ozone_gpu_test_helper.h b/ui/ozone/public/ozone_gpu_test_helper.h
index 5a740ac4ec87da493667c0fcd4d376363a5a0610..5e92b03c97a5d6c6c0d9ef5d917b994d11f4f7b0 100644
--- a/ui/ozone/public/ozone_gpu_test_helper.h
+++ b/ui/ozone/public/ozone_gpu_test_helper.h
@@ -5,9 +5,10 @@
#ifndef UI_OZONE_PUBLIC_OZONE_GPU_THREAD_HELPER_H_
#define UI_OZONE_PUBLIC_OZONE_GPU_THREAD_HELPER_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/ozone/ozone_export.h"
namespace base {
@@ -37,9 +38,9 @@ class OZONE_EXPORT OzoneGpuTestHelper {
const scoped_refptr<base::SingleThreadTaskRunner>& gpu_task_runner);
private:
- scoped_ptr<FakeGpuProcess> fake_gpu_process_;
- scoped_ptr<FakeGpuProcessHost> fake_gpu_process_host_;
- scoped_ptr<base::Thread> io_helper_thread_;
+ std::unique_ptr<FakeGpuProcess> fake_gpu_process_;
+ std::unique_ptr<FakeGpuProcessHost> fake_gpu_process_host_;
+ std::unique_ptr<base::Thread> io_helper_thread_;
DISALLOW_COPY_AND_ASSIGN(OzoneGpuTestHelper);
};
« no previous file with comments | « ui/ozone/public/overlay_manager_ozone.h ('k') | ui/ozone/public/ozone_platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698