Index: src/inspector/search-util.cc |
diff --git a/src/inspector/search-util.cc b/src/inspector/search-util.cc |
index a6fba06c115b724f3c74cb00a2df80ac2a4d7d3f..b05d7a07ecbd3c490e132e11a25c395cd52533d6 100644 |
--- a/src/inspector/search-util.cc |
+++ b/src/inspector/search-util.cc |
@@ -132,7 +132,8 @@ std::unique_ptr<V8Regex> createSearchRegex(V8InspectorImpl* inspector, |
const String16& query, |
bool caseSensitive, bool isRegex) { |
String16 regexSource = isRegex ? query : createSearchRegexSource(query); |
- return wrapUnique(new V8Regex(inspector, regexSource, caseSensitive)); |
+ return std::unique_ptr<V8Regex>( |
+ new V8Regex(inspector, regexSource, caseSensitive)); |
} |
} // namespace |