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

Unified Diff: third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.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/core/origin_trials/OriginTrialContextTest.cpp
diff --git a/third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.cpp b/third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.cpp
index c96d52722fa55230e7509fda4c5fc96a1e9be481..60339a3f1c01ddd3e23ab7e8f316ddc100f8d322 100644
--- a/third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.cpp
+++ b/third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.cpp
@@ -73,7 +73,7 @@ class OriginTrialContextTest : public ::testing::Test {
OriginTrialContextTest()
: m_frameworkWasEnabled(RuntimeEnabledFeatures::originTrialsEnabled()),
m_executionContext(new NullExecutionContext()),
- m_tokenValidator(wrapUnique(new MockTokenValidator())),
+ m_tokenValidator(makeUnique<MockTokenValidator>()),
m_originTrialContext(new OriginTrialContext(m_executionContext.get(),
m_tokenValidator.get())),
m_histogramTester(new HistogramTester()) {

Powered by Google App Engine
This is Rietveld 408576698