| Index: extensions/browser/error_map_unittest.cc
|
| diff --git a/extensions/browser/error_map_unittest.cc b/extensions/browser/error_map_unittest.cc
|
| index a118f6e53c81563dfbc0f5abc14144808c80cdec..2b43f33f97267721ffecc46bd6b006a1da2475db 100644
|
| --- a/extensions/browser/error_map_unittest.cc
|
| +++ b/extensions/browser/error_map_unittest.cc
|
| @@ -6,10 +6,10 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| #include <utility>
|
|
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "components/crx_file/id_util.h"
|
| #include "extensions/browser/extension_error.h"
|
| @@ -151,7 +151,7 @@ TEST_F(ErrorMapUnitTest, DuplicateErrorsAreReplaced) {
|
|
|
| // Create an error identical to the second error reported, save its
|
| // location, and add it to the error map.
|
| - scoped_ptr<ExtensionError> runtime_error2 =
|
| + std::unique_ptr<ExtensionError> runtime_error2 =
|
| CreateNewRuntimeError(kId, base::UintToString(1u));
|
| const ExtensionError* weak_error = runtime_error2.get();
|
| ASSERT_TRUE(errors_.AddError(std::move(runtime_error2)));
|
|
|