mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:57:35 +00:00
LibWeb: Always inline is<LayoutBox>() and is<LayoutBlock>()
This commit is contained in:
parent
9b8464f455
commit
5f0a1ef21b
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ void LayoutBlock::for_each_fragment(Callback callback) const
|
||||||
}
|
}
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
inline bool is<LayoutBlock>(const LayoutNode& node)
|
ALWAYS_INLINE bool is<LayoutBlock>(const LayoutNode& node)
|
||||||
{
|
{
|
||||||
return node.is_block();
|
return node.is_block();
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,7 +98,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
inline bool is<LayoutBox>(const LayoutNode& node)
|
ALWAYS_INLINE bool is<LayoutBox>(const LayoutNode& node)
|
||||||
{
|
{
|
||||||
return node.is_box();
|
return node.is_box();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue