Index: ppapi/shared_impl/compositor_layer_data.h |
diff --git a/ppapi/shared_impl/compositor_layer_data.h b/ppapi/shared_impl/compositor_layer_data.h |
index 86a5b59225c78694912437357bf2defa50fc8681..179b69308c7d708c179cca59869b4555f471007c 100644 |
--- a/ppapi/shared_impl/compositor_layer_data.h |
+++ b/ppapi/shared_impl/compositor_layer_data.h |
@@ -8,8 +8,9 @@ |
#include <stdint.h> |
#include <string.h> |
+#include <memory> |
+ |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "gpu/command_buffer/common/mailbox.h" |
#include "gpu/command_buffer/common/sync_token.h" |
#include "ppapi/c/ppb_compositor_layer.h" |
@@ -112,9 +113,9 @@ struct PPAPI_SHARED_EXPORT CompositorLayerData { |
const CompositorLayerData& operator=(const CompositorLayerData& other); |
LayerCommon common; |
- scoped_ptr<ColorLayer> color; |
- scoped_ptr<TextureLayer> texture; |
- scoped_ptr<ImageLayer> image; |
+ std::unique_ptr<ColorLayer> color; |
+ std::unique_ptr<TextureLayer> texture; |
+ std::unique_ptr<ImageLayer> image; |
}; |
} // namespace ppapi |