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

Unified Diff: ui/display/chromeos/display_snapshot_virtual.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
Index: ui/display/chromeos/display_snapshot_virtual.h
diff --git a/ui/display/chromeos/display_snapshot_virtual.h b/ui/display/chromeos/display_snapshot_virtual.h
index 4be55ab4c0fa0631553fdb8a7bfb6a3eb6d8981e..4c54de1b0e7fce416613cc458b44fb2c3314376d 100644
--- a/ui/display/chromeos/display_snapshot_virtual.h
+++ b/ui/display/chromeos/display_snapshot_virtual.h
@@ -5,13 +5,13 @@
#ifndef UI_DISPLAY_CHROMEOS_DISPLAY_SNAPSHOT_VIRTUAL_H_
#define UI_DISPLAY_CHROMEOS_DISPLAY_SNAPSHOT_VIRTUAL_H_
-#include "ui/display/types/display_snapshot.h"
-
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/display/types/display_mode.h"
+#include "ui/display/types/display_snapshot.h"
namespace ui {
@@ -28,7 +28,7 @@ class DisplaySnapshotVirtual : public DisplaySnapshot {
std::string ToString() const override;
private:
- scoped_ptr<DisplayMode> mode_;
+ std::unique_ptr<DisplayMode> mode_;
DISALLOW_COPY_AND_ASSIGN(DisplaySnapshotVirtual);
};
« no previous file with comments | « ui/display/chromeos/display_configurator_unittest.cc ('k') | ui/display/chromeos/ozone/display_configurator_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698