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

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

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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/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 5d81ac5a16a7da25994d4811f4bbb4ff30d81e32..4b222bdf05eb8271f670df5becfa6e9eeb965745 100644
--- a/third_party/WebKit/Source/build/scripts/templates/OriginTrials.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/OriginTrials.cpp.tmpl
@@ -22,9 +22,9 @@ bool OriginTrials::{{feature.first_lowered_name}}Enabled(ExecutionContext* execu
{%- endfor %}
{% endif %}
- OriginTrialContext* context =OriginTrialContext::from(executionContext,
- OriginTrialContext::DontCreateIfNotExists);
- return context && context->isTrialEnabled("{{feature.origin_trial_feature_name}}");
+ OriginTrialContext* context =OriginTrialContext::From(executionContext,
+ OriginTrialContext::kDontCreateIfNotExists);
+ return context && context->IsTrialEnabled("{{feature.origin_trial_feature_name}}");
{% if feature.origin_trial_os %}
#else
return false;

Powered by Google App Engine
This is Rietveld 408576698