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

Unified Diff: chromecast/graphics/osd_plane_default.cc

Issue 1875623002: Convert //chromecast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chromecast/graphics/osd_plane_default.cc
diff --git a/chromecast/graphics/osd_plane_default.cc b/chromecast/graphics/osd_plane_default.cc
index 35dfe14a53e35dfaae2b3fa274138242459dbefe..6a4a5e046f183b99e071327f286b1eee9e2c22de 100644
--- a/chromecast/graphics/osd_plane_default.cc
+++ b/chromecast/graphics/osd_plane_default.cc
@@ -2,8 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chromecast/public/graphics_types.h"
#include "chromecast/public/osd_plane.h"
#include "chromecast/public/osd_plane_shlib.h"
@@ -59,7 +60,7 @@ class OsdPlaneDefault : public OsdPlane {
void Flip() override {}
private:
- scoped_ptr<OsdSurface> back_buffer_;
+ std::unique_ptr<OsdSurface> back_buffer_;
Size size_;
DISALLOW_COPY_AND_ASSIGN(OsdPlaneDefault);
« no previous file with comments | « chromecast/crash/linux/synchronized_minidump_manager_unittest.cc ('k') | chromecast/media/audio/cast_audio_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698