| Index: components/feedback/anonymizer_tool.cc
|
| diff --git a/components/feedback/anonymizer_tool.cc b/components/feedback/anonymizer_tool.cc
|
| index 8becbdebc3b27fb335e6d8d77d7f56622356d700..4b5070f488913bcc5bda520b22dbd00d2e2f41c8 100644
|
| --- a/components/feedback/anonymizer_tool.cc
|
| +++ b/components/feedback/anonymizer_tool.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <utility>
|
|
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/stringprintf.h"
|
| @@ -238,7 +239,7 @@ RE2* AnonymizerTool::GetRegExp(const std::string& pattern) {
|
| RE2::Options options;
|
| // set_multiline of pcre is not supported by RE2, yet.
|
| options.set_dot_nl(true); // Dot matches a new line.
|
| - scoped_ptr<RE2> re = make_scoped_ptr(new RE2(pattern, options));
|
| + std::unique_ptr<RE2> re = base::WrapUnique(new RE2(pattern, options));
|
| DCHECK_EQ(re2::RE2::NoError, re->error_code())
|
| << "Failed to parse:\n" << pattern << "\n" << re->error();
|
| regexp_cache_[pattern] = std::move(re);
|
|
|