diff options
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutReplaced.cpp')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutReplaced.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutReplaced.cpp b/Libraries/LibWeb/Layout/LayoutReplaced.cpp index ebb98d7c40..a4d13faacf 100644 --- a/Libraries/LibWeb/Layout/LayoutReplaced.cpp +++ b/Libraries/LibWeb/Layout/LayoutReplaced.cpp @@ -30,7 +30,7 @@ namespace Web { -LayoutReplaced::LayoutReplaced(DOM::Document& document, const DOM::Element& element, NonnullRefPtr<StyleProperties> style) +LayoutReplaced::LayoutReplaced(DOM::Document& document, const DOM::Element& element, NonnullRefPtr<CSS::StyleProperties> style) : LayoutBox(document, &element, move(style)) { // FIXME: Allow non-inline replaced elements. @@ -45,7 +45,7 @@ float LayoutReplaced::calculate_width() const { // 10.3.2 [Inline,] replaced elements - auto zero_value = Length::make_px(0); + auto zero_value = CSS::Length::make_px(0); auto& containing_block = *this->containing_block(); auto margin_left = style().margin().left.resolved_or_zero(*this, containing_block.width()); |