| Index: content/renderer/manifest/manifest_parser.h
|
| diff --git a/content/renderer/manifest/manifest_parser.h b/content/renderer/manifest/manifest_parser.h
|
| index 5f683a0e6348392cecfac660073553f1a6bc2dbd..86f24a5145083f729b32ad6cbd6cebcea0d1a228 100644
|
| --- a/content/renderer/manifest/manifest_parser.h
|
| +++ b/content/renderer/manifest/manifest_parser.h
|
| @@ -7,6 +7,8 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| #include "base/strings/nullable_string16.h"
|
| #include "base/strings/string_piece.h"
|
| @@ -46,7 +48,7 @@ class CONTENT_EXPORT ManifestParser {
|
| void Parse();
|
|
|
| const Manifest& manifest() const;
|
| - const std::vector<scoped_ptr<ErrorInfo>>& errors() const;
|
| + const std::vector<std::unique_ptr<ErrorInfo>>& errors() const;
|
| bool failed() const;
|
|
|
| private:
|
| @@ -203,7 +205,7 @@ class CONTENT_EXPORT ManifestParser {
|
|
|
| bool failed_;
|
| Manifest manifest_;
|
| - std::vector<scoped_ptr<ErrorInfo>> errors_;
|
| + std::vector<std::unique_ptr<ErrorInfo>> errors_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ManifestParser);
|
| };
|
|
|