mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
LibWeb: Always inline is<LayoutBox>() and is<LayoutBlock>()
This commit is contained in:
parent
9b8464f455
commit
5f0a1ef21b
Notes:
sideshowbarker
2024-07-19 05:25:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5f0a1ef21b1
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ void LayoutBlock::for_each_fragment(Callback callback) const
|
|||
}
|
||||
|
||||
template<>
|
||||
inline bool is<LayoutBlock>(const LayoutNode& node)
|
||||
ALWAYS_INLINE bool is<LayoutBlock>(const LayoutNode& node)
|
||||
{
|
||||
return node.is_block();
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ private:
|
|||
};
|
||||
|
||||
template<>
|
||||
inline bool is<LayoutBox>(const LayoutNode& node)
|
||||
ALWAYS_INLINE bool is<LayoutBox>(const LayoutNode& node)
|
||||
{
|
||||
return node.is_box();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue