Commit 563f475d authored by Antonio Gomes's avatar Antonio Gomes Committed by Commit Bot

Remove left-over DEFINE_TYPE_CASTS use from css_unsupported_style_value.h

This is a follow up of https://crrev.com/c/1496217

TBR=jbroman@chromium.org

BUG=891908

Change-Id: Ib3a86b00c39ee0c0cc7081fbd87038d3a03c8cde
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1509192Reviewed-by: default avatarAntonio Gomes <tonikitoo@igalia.com>
Reviewed-by: default avatarJeremy Roman <jbroman@chromium.org>
Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
Cr-Commit-Position: refs/heads/master@{#638688}
parent e8a2f088
......@@ -67,14 +67,6 @@ class CORE_EXPORT CSSUnsupportedStyleValue final : public CSSStyleValue {
DISALLOW_COPY_AND_ASSIGN(CSSUnsupportedStyleValue);
};
DEFINE_TYPE_CASTS(CSSUnsupportedStyleValue,
CSSStyleValue,
value,
value->GetType() ==
CSSStyleValue::StyleValueType::kUnknownType,
value.GetType() ==
CSSStyleValue::StyleValueType::kUnknownType);
template <>
struct DowncastTraits<CSSUnsupportedStyleValue> {
static bool AllowFrom(const CSSStyleValue& value) {
......
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