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); |