summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/feature_policy/layout_animations_policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/feature_policy/layout_animations_policy.h')
-rw-r--r--chromium/third_party/blink/renderer/core/feature_policy/layout_animations_policy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/feature_policy/layout_animations_policy.h b/chromium/third_party/blink/renderer/core/feature_policy/layout_animations_policy.h
index d2d5bced360..f82862c0376 100644
--- a/chromium/third_party/blink/renderer/core/feature_policy/layout_animations_policy.h
+++ b/chromium/third_party/blink/renderer/core/feature_policy/layout_animations_policy.h
@@ -12,7 +12,7 @@
namespace blink {
class CSSProperty;
-class SecurityContext;
+class ExecutionContext;
// Helper methods for for 'layout-animations' (kLayoutAnimations) feature
// policy.
@@ -25,11 +25,11 @@ class LayoutAnimationsPolicy {
static const HashSet<const CSSProperty*>& AffectedCSSProperties();
// Generates a violation report for the blocked |animation_property| only if
- // the feature 'layout-animations' is disabled in |security_context|. Invoking
+ // the feature 'layout-animations' is disabled in |document|. Invoking
// this method emits a potential violation of the 'layout-animations' policy
// which is tracked by Blink.UserCounters.FeaturePolicy.PotentialViolation.
static void ReportViolation(const CSSProperty& animated_property,
- const SecurityContext& security_context);
+ const ExecutionContext& context);
private:
LayoutAnimationsPolicy();