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

Unified Diff: ui/ozone/platform/drm/gpu/drm_device.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/platform/drm/gpu/crtc_controller.cc ('k') | ui/ozone/platform/drm/gpu/drm_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_device.h
diff --git a/ui/ozone/platform/drm/gpu/drm_device.h b/ui/ozone/platform/drm/gpu/drm_device.h
index ef863c1e5101c3e024789500c722ebc96de5a4c4..d0fb14d59fb04b81786a927f57066072d7c2dd21 100644
--- a/ui/ozone/platform/drm/gpu/drm_device.h
+++ b/ui/ozone/platform/drm/gpu/drm_device.h
@@ -186,7 +186,7 @@ class DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
virtual ~DrmDevice();
- scoped_ptr<HardwareDisplayPlaneManager> plane_manager_;
+ std::unique_ptr<HardwareDisplayPlaneManager> plane_manager_;
private:
class IOWatcher;
@@ -198,10 +198,10 @@ class DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
// DRM device.
base::File file_;
- scoped_ptr<PageFlipManager> page_flip_manager_;
+ std::unique_ptr<PageFlipManager> page_flip_manager_;
// Watcher for |fd_| listening for page flip events.
- scoped_ptr<IOWatcher> watcher_;
+ std::unique_ptr<IOWatcher> watcher_;
bool is_primary_device_;
« no previous file with comments | « ui/ozone/platform/drm/gpu/crtc_controller.cc ('k') | ui/ozone/platform/drm/gpu/drm_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698