Commit c0110e53 authored by Rune Lillesveen's avatar Rune Lillesveen Committed by Commit Bot

Remove unused origin argument from ResolveCustomProperty.

Change-Id: I6a81ef095db774d175bc63c8b6b48787031d7c27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2455449Reviewed-by: default avatarAnders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814654}
parent 740dfd7c
......@@ -691,7 +691,7 @@ const CSSValue* StyleCascade::Resolve(const CSSProperty& property,
return ResolveRevert(property, value, origin, resolver);
resolver.CollectAuthorFlags(property, origin);
if (const auto* v = DynamicTo<CSSCustomPropertyDeclaration>(value))
return ResolveCustomProperty(property, *v, origin, resolver);
return ResolveCustomProperty(property, *v, resolver);
if (const auto* v = DynamicTo<CSSVariableReferenceValue>(value))
return ResolveVariableReference(property, *v, resolver);
if (const auto* v = DynamicTo<cssvalue::CSSPendingSubstitutionValue>(value))
......@@ -702,7 +702,6 @@ const CSSValue* StyleCascade::Resolve(const CSSProperty& property,
const CSSValue* StyleCascade::ResolveCustomProperty(
const CSSProperty& property,
const CSSCustomPropertyDeclaration& decl,
CascadeOrigin origin,
CascadeResolver& resolver) {
DCHECK(!property.IsSurrogate());
......
......@@ -287,7 +287,6 @@ class CORE_EXPORT StyleCascade {
CascadeResolver&);
const CSSValue* ResolveCustomProperty(const CSSProperty&,
const CSSCustomPropertyDeclaration&,
CascadeOrigin,
CascadeResolver&);
const CSSValue* ResolveVariableReference(const CSSProperty&,
const CSSVariableReferenceValue&,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment