| Index: base/command_line_unittest.cc
|
| diff --git a/base/command_line_unittest.cc b/base/command_line_unittest.cc
|
| index 967ce1c5d5b230cd6cfdec579cf59da1d52f00eb..bcfc6c59c916a2e7964c057e918b596b25ec9eff 100644
|
| --- a/base/command_line_unittest.cc
|
| +++ b/base/command_line_unittest.cc
|
| @@ -2,13 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "base/command_line.h"
|
| +
|
| +#include <memory>
|
| #include <string>
|
| #include <vector>
|
|
|
| -#include "base/command_line.h"
|
| #include "base/files/file_path.h"
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "build/build_config.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -390,7 +391,8 @@ TEST(CommandLineTest, Init) {
|
|
|
| // Test that copies of CommandLine have a valid StringPiece map.
|
| TEST(CommandLineTest, Copy) {
|
| - scoped_ptr<CommandLine> initial(new CommandLine(CommandLine::NO_PROGRAM));
|
| + std::unique_ptr<CommandLine> initial(
|
| + new CommandLine(CommandLine::NO_PROGRAM));
|
| initial->AppendSwitch("a");
|
| initial->AppendSwitch("bbbbbbbbbbbbbbb");
|
| initial->AppendSwitch("c");
|
|
|