Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserSelector.h

Issue 2494333002: Replace wrapUnique(new T(args)) by makeUnique<T>(args) in Blink (Closed)
Patch Set: Drop redundant WTF:: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/parser/CSSParserSelector.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h b/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h
index d5c5080b298fac0ae88543b8c898ffb8c445a91f..40c93a6dc596ee1abf1f9de98e8bb5bc3dd6158c 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h
@@ -42,7 +42,7 @@ class CORE_EXPORT CSSParserSelector {
}
static std::unique_ptr<CSSParserSelector> create(const QualifiedName& name,
bool isImplicit = false) {
- return wrapUnique(new CSSParserSelector(name, isImplicit));
+ return makeUnique<CSSParserSelector>(name, isImplicit);
}
~CSSParserSelector();

Powered by Google App Engine
This is Rietveld 408576698