Index: components/webp_transcode/webp_decoder.h |
diff --git a/components/webp_transcode/webp_decoder.h b/components/webp_transcode/webp_decoder.h |
index 1fa93f78c1be83b433e348210d9d02b96d755083..1cfd6ffad8a7c57b90a166f6939342ef969309ff 100644 |
--- a/components/webp_transcode/webp_decoder.h |
+++ b/components/webp_transcode/webp_decoder.h |
@@ -8,9 +8,10 @@ |
#import <Foundation/Foundation.h> |
#include <stddef.h> |
+#include <memory> |
+ |
#include "base/mac/scoped_nsobject.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "third_party/libwebp/webp/decode.h" |
@class NSData; |
@@ -66,7 +67,7 @@ class WebpDecoder : public base::RefCountedThreadSafe<WebpDecoder> { |
scoped_refptr<WebpDecoder::Delegate> delegate_; |
WebPDecoderConfig config_; |
WebpDecoder::State state_; |
- scoped_ptr<WebPIDecoder, WebPIDecoderDeleter> incremental_decoder_; |
+ std::unique_ptr<WebPIDecoder, WebPIDecoderDeleter> incremental_decoder_; |
base::scoped_nsobject<NSData> output_buffer_; |
base::scoped_nsobject<NSMutableData> features_; |
int has_alpha_; |