Index: components/feedback/anonymizer_tool.cc |
diff --git a/components/feedback/anonymizer_tool.cc b/components/feedback/anonymizer_tool.cc |
index 4b5070f488913bcc5bda520b22dbd00d2e2f41c8..bc8a223cadae2fdf5f35ab84df433767305bebf6 100644 |
--- a/components/feedback/anonymizer_tool.cc |
+++ b/components/feedback/anonymizer_tool.cc |
@@ -239,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. |
- std::unique_ptr<RE2> re = base::WrapUnique(new RE2(pattern, options)); |
+ std::unique_ptr<RE2> re = base::MakeUnique<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); |