| Index: third_party/crashpad/crashpad/minidump/minidump_simple_string_dictionary_writer.cc
|
| diff --git a/third_party/crashpad/crashpad/minidump/minidump_simple_string_dictionary_writer.cc b/third_party/crashpad/crashpad/minidump/minidump_simple_string_dictionary_writer.cc
|
| index b3283e59af72c53c3452bc3bb994f43b222856eb..e188d7efe1f857e03c2cf20b5ac55f8f7d4ea228 100644
|
| --- a/third_party/crashpad/crashpad/minidump/minidump_simple_string_dictionary_writer.cc
|
| +++ b/third_party/crashpad/crashpad/minidump/minidump_simple_string_dictionary_writer.cc
|
| @@ -12,12 +12,12 @@
|
| // See the License for the specific language governing permissions and
|
| // limitations under the License.
|
|
|
| -#include "minidump/minidump_simple_string_dictionary_writer.h"
|
| -
|
| #include <utility>
|
|
|
| #include "base/logging.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/stl_util.h"
|
| +#include "minidump/minidump_simple_string_dictionary_writer.h"
|
| #include "util/file/file_writer.h"
|
| #include "util/numeric/safe_assignment.h"
|
|
|
| @@ -109,14 +109,14 @@ void MinidumpSimpleStringDictionaryWriter::InitializeFromMap(
|
|
|
| for (const auto& iterator : map) {
|
| auto entry =
|
| - make_scoped_ptr(new MinidumpSimpleStringDictionaryEntryWriter());
|
| + base::WrapUnique(new MinidumpSimpleStringDictionaryEntryWriter());
|
| entry->SetKeyValue(iterator.first, iterator.second);
|
| AddEntry(std::move(entry));
|
| }
|
| }
|
|
|
| void MinidumpSimpleStringDictionaryWriter::AddEntry(
|
| - scoped_ptr<MinidumpSimpleStringDictionaryEntryWriter> entry) {
|
| + std::unique_ptr<MinidumpSimpleStringDictionaryEntryWriter> entry) {
|
| DCHECK_EQ(state(), kStateMutable);
|
|
|
| const std::string& key = entry->Key();
|
|
|