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

Unified Diff: third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.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/html/parser/AtomicHTMLToken.h
diff --git a/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h b/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h
index e12f03985b9ed725fd47d233144229a1f6b7d1e0..514c955371ce1f188dc82fb2adcaf0607febe8eb 100644
--- a/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h
+++ b/third_party/WebKit/Source/core/html/parser/AtomicHTMLToken.h
@@ -140,7 +140,7 @@ class CORE_EXPORT AtomicHTMLToken {
break;
case HTMLToken::DOCTYPE:
m_name = AtomicString(token.data());
- m_doctypeData = wrapUnique(new DoctypeData());
+ m_doctypeData = makeUnique<DoctypeData>();
m_doctypeData->m_hasPublicIdentifier = true;
token.publicIdentifier().appendTo(m_doctypeData->m_publicIdentifier);
m_doctypeData->m_hasSystemIdentifier = true;

Powered by Google App Engine
This is Rietveld 408576698