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

Unified Diff: third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h

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/OriginTrialContext.h
diff --git a/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h b/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h
index 51f5bf3ead1ee0bbdf0c14be0545592cfcd1e15f..cef1f0b3820ccc8cf036a089df88222034e40122 100644
--- a/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h
+++ b/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h
@@ -40,7 +40,7 @@ class CORE_EXPORT OriginTrialContext final
public:
enum CreateMode { CreateIfNotExists, DontCreateIfNotExists };
- OriginTrialContext(ExecutionContext*, WebTrialTokenValidator*);
+ OriginTrialContext(ExecutionContext&, WebTrialTokenValidator*);
static const char* supplementName();
@@ -84,7 +84,6 @@ class CORE_EXPORT OriginTrialContext final
private:
void validateToken(const String& token);
- Member<ExecutionContext> m_host;
Vector<String> m_tokens;
HashSet<String> m_enabledTrials;
WebTrialTokenValidator* m_trialTokenValidator;

Powered by Google App Engine
This is Rietveld 408576698