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

Unified Diff: third_party/WebKit/Source/web/WebNode.cpp

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/web/WebNode.cpp
diff --git a/third_party/WebKit/Source/web/WebNode.cpp b/third_party/WebKit/Source/web/WebNode.cpp
index fb3dabcacd2edf7858feb524cb34986e02d761b2..a135927765d02fe4b691ce8bef094be68c22efd6 100644
--- a/third_party/WebKit/Source/web/WebNode.cpp
+++ b/third_party/WebKit/Source/web/WebNode.cpp
@@ -169,7 +169,7 @@ bool WebNode::isDocumentTypeNode() const {
void WebNode::simulateClick() {
m_private->getExecutionContext()->postSuspendableTask(
- wrapUnique(new NodeDispatchSimulatedClickTask(m_private)));
+ makeUnique<NodeDispatchSimulatedClickTask>(m_private));
}
WebElementCollection WebNode::getElementsByHTMLTagName(
« no previous file with comments | « third_party/WebKit/Source/web/PageOverlayTest.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698