diff options
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutBlock.h | 2 | ||||
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutBox.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutBlock.h b/Libraries/LibWeb/Layout/LayoutBlock.h index 226fce2869..416bbd0d01 100644 --- a/Libraries/LibWeb/Layout/LayoutBlock.h +++ b/Libraries/LibWeb/Layout/LayoutBlock.h @@ -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(); } diff --git a/Libraries/LibWeb/Layout/LayoutBox.h b/Libraries/LibWeb/Layout/LayoutBox.h index b088dd12dd..2e8aef188f 100644 --- a/Libraries/LibWeb/Layout/LayoutBox.h +++ b/Libraries/LibWeb/Layout/LayoutBox.h @@ -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(); } |