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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/OriginTrials.cpp.tmpl

Issue 1846913009: HeapSupplements are now just Supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/build/scripts/templates/OriginTrials.h.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/build/scripts/templates/OriginTrials.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/OriginTrials.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/OriginTrials.cpp.tmpl
index 320705ff80f3e0e9b6e056116a65d6da8c06ae3d..36a7772855a13664b56804dc8fc91c4fd146ea5f 100644
--- a/third_party/WebKit/Source/build/scripts/templates/OriginTrials.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/OriginTrials.cpp.tmpl
@@ -21,10 +21,10 @@ const char* OriginTrials::supplementName()
// static
OriginTrials* OriginTrials::from(ExecutionContext* host)
{
- OriginTrials* originTrials = reinterpret_cast<OriginTrials*>(HeapSupplement<ExecutionContext>::from(host, supplementName()));
+ OriginTrials* originTrials = reinterpret_cast<OriginTrials*>(Supplement<ExecutionContext>::from(host, supplementName()));
if (!originTrials) {
originTrials = new OriginTrials(host->createOriginTrialContext());
- HeapSupplement<ExecutionContext>::provideTo(*host, supplementName(), originTrials);
+ Supplement<ExecutionContext>::provideTo(*host, supplementName(), originTrials);
}
return originTrials;
}
@@ -60,6 +60,6 @@ bool OriginTrials::{{feature.first_lowered_name}}EnabledImpl(String* errorMessag
DEFINE_TRACE(OriginTrials)
{
visitor->trace(m_originTrialContext);
- HeapSupplement<ExecutionContext>::trace(visitor);
+ Supplement<ExecutionContext>::trace(visitor);
}
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/build/scripts/templates/OriginTrials.h.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698