summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutWidget.cpp')
-rw-r--r--Libraries/LibWeb/Layout/LayoutWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutWidget.cpp b/Libraries/LibWeb/Layout/LayoutWidget.cpp
index 2a82158b07..ea0d737db7 100644
--- a/Libraries/LibWeb/Layout/LayoutWidget.cpp
+++ b/Libraries/LibWeb/Layout/LayoutWidget.cpp
@@ -36,8 +36,8 @@
namespace Web {
-LayoutWidget::LayoutWidget(const Element& element, GUI::Widget& widget)
- : LayoutReplaced(element, StyleProperties::create())
+LayoutWidget::LayoutWidget(Document& document, const Element& element, GUI::Widget& widget)
+ : LayoutReplaced(document, element, StyleProperties::create())
, m_widget(widget)
{
set_has_intrinsic_width(true);