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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8PerContextData.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/bindings/core/v8/V8PerContextData.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp
index 98f75afe9ff1e49134b4ad615a0c6c64415a553f..5fcbae59b71792bbaf1368cd91c1ae45a8a1dfdc 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp
@@ -46,7 +46,7 @@ V8PerContextData::V8PerContextData(v8::Local<v8::Context> context)
: m_isolate(context->GetIsolate()),
m_wrapperBoilerplates(m_isolate),
m_constructorMap(m_isolate),
- m_contextHolder(wrapUnique(new gin::ContextHolder(m_isolate))),
+ m_contextHolder(makeUnique<gin::ContextHolder>(m_isolate)),
m_context(m_isolate, context),
m_activityLogger(0),
m_compiledPrivateScript(m_isolate) {

Powered by Google App Engine
This is Rietveld 408576698