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

Unified Diff: third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.cpp

Issue 2645303002: Use a new Supplement constructor for supplements in core/ (Closed)
Patch Set: temp Created 3 years, 11 months 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 9ca6eafa57d7aa520a6f31f77ebd991199d40e3f..4261d607f623293b9941a18fb09892e95004d5ec 100644
--- a/third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.cpp
+++ b/third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.cpp
@@ -74,7 +74,7 @@ class OriginTrialContextTest : public ::testing::Test {
: m_frameworkWasEnabled(RuntimeEnabledFeatures::originTrialsEnabled()),
m_executionContext(new NullExecutionContext()),
m_tokenValidator(WTF::makeUnique<MockTokenValidator>()),
- m_originTrialContext(new OriginTrialContext(m_executionContext.get(),
+ m_originTrialContext(new OriginTrialContext(*m_executionContext,
m_tokenValidator.get())),
m_histogramTester(new HistogramTester()) {
RuntimeEnabledFeatures::setOriginTrialsEnabled(true);

Powered by Google App Engine
This is Rietveld 408576698