diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-07-16 11:45:35 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-07-17 08:59:23 +0000 |
commit | 552906b0f222c5d5dd11b9fd73829d510980461a (patch) | |
tree | 3a11e6ed0538a81dd83b20cf3a4783e297f26d91 /chromium/third_party/blink/renderer/core/svg/svg_number_list.h | |
parent | 1b05827804eaf047779b597718c03e7d38344261 (diff) | |
download | qtwebengine-chromium-552906b0f222c5d5dd11b9fd73829d510980461a.tar.gz |
BASELINE: Update Chromium to 83.0.4103.122
Change-Id: Ie3a82f5bb0076eec2a7c6a6162326b4301ee291e
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/svg/svg_number_list.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/svg/svg_number_list.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/svg/svg_number_list.h b/chromium/third_party/blink/renderer/core/svg/svg_number_list.h index 89eb0affe06..860f379edbe 100644 --- a/chromium/third_party/blink/renderer/core/svg/svg_number_list.h +++ b/chromium/third_party/blink/renderer/core/svg/svg_number_list.h @@ -34,6 +34,7 @@ #include "third_party/blink/renderer/core/svg/properties/svg_list_property_helper.h" #include "third_party/blink/renderer/core/svg/svg_number.h" #include "third_party/blink/renderer/core/svg/svg_parsing_error.h" +#include "third_party/blink/renderer/platform/wtf/casting.h" namespace blink { @@ -72,7 +73,12 @@ class SVGNumberList final SVGParsingError Parse(const CharType*& ptr, const CharType* end); }; -DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGNumberList); +template <> +struct DowncastTraits<SVGNumberList> { + static bool AllowFrom(const SVGPropertyBase& value) { + return value.GetType() == SVGNumberList::ClassType(); + } +}; } // namespace blink |