mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +00:00
LibWeb: Add fast_is<T>() for InlinePaintable
dynamic_cast<InlinePaintable> was showing up in profiles when hovering links on ziglang.org.
This commit is contained in:
parent
c4403fd28c
commit
20ff69cd41
1 changed files with 3 additions and 0 deletions
|
@ -66,4 +66,7 @@ private:
|
|||
Vector<PaintableFragment> m_fragments;
|
||||
};
|
||||
|
||||
template<>
|
||||
inline bool Paintable::fast_is<InlinePaintable>() const { return is_inline_paintable(); }
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue