commit | 84c358e7a3b1658bf396d39716fb0fffbb0aa018 | [log] [tgz] |
---|---|---|
author | dcheng <[email protected]> | Tue Apr 26 07:05:53 2016 |
committer | Commit bot <[email protected]> | Tue Apr 26 07:08:45 2016 |
tree | 5e6abfde90225e0579d044443188fd49f954f81c | |
parent | f1ba4d862e0310b52105f4443c91196f81ed7b84 [diff] [blame] |
Convert //components/[f-n]* from scoped_ptr to std::unique_ptr BUG=554298 [email protected] [email protected],[email protected] Review URL: https://codereview.chromium.org/1918083002 Cr-Commit-Position: refs/heads/master@{#389715}
diff --git a/components/flags_ui/flags_state_unittest.cc b/components/flags_ui/flags_state_unittest.cc index be6a4d3..628331b 100644 --- a/components/flags_ui/flags_state_unittest.cc +++ b/components/flags_ui/flags_state_unittest.cc
@@ -7,6 +7,7 @@ #include <stddef.h> #include <map> +#include <memory> #include <set> #include <string> @@ -14,7 +15,6 @@ #include "base/feature_list.h" #include "base/format_macros.h" #include "base/macros.h" -#include "base/memory/scoped_ptr.h" #include "base/stl_util.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" @@ -126,7 +126,7 @@ TestingPrefServiceSimple prefs_; PrefServiceFlagsStorage flags_storage_; - scoped_ptr<FlagsState> flags_state_; + std::unique_ptr<FlagsState> flags_state_; }; TEST_F(FlagsStateTest, NoChangeNoRestart) {