diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/css/properties/longhands/variable.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/css/properties/longhands/variable.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/chromium/third_party/blink/renderer/core/css/properties/longhands/variable.h b/chromium/third_party/blink/renderer/core/css/properties/longhands/variable.h index 6faf1e60701..cb0137e5c2b 100644 --- a/chromium/third_party/blink/renderer/core/css/properties/longhands/variable.h +++ b/chromium/third_party/blink/renderer/core/css/properties/longhands/variable.h @@ -13,7 +13,9 @@ namespace blink { -class Variable final : public Longhand { +// TODO(andruud): Remove this class when the static Variable instance +// (as returned by GetCSSPropertyVariable()) has been removed. +class CORE_EXPORT Variable : public Longhand { public: constexpr Variable() : Longhand() {} @@ -25,18 +27,8 @@ class Variable final : public Longhand { DEFINE_STATIC_LOCAL(const AtomicString, name, ("variable")); return name; } - const CSSValue* CSSValueFromComputedStyleInternal( - const ComputedStyle&, - const SVGComputedStyle&, - const LayoutObject*, - Node*, - bool allow_visited_style) const override { - NOTREACHED(); - return nullptr; - } - void ApplyValue(StyleResolverState& state, - const CSSValue& value) const override; + static bool IsStaticInstance(const CSSProperty&); }; } // namespace blink |