summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutCheckBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutCheckBox.cpp')
-rw-r--r--Libraries/LibWeb/Layout/LayoutCheckBox.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutCheckBox.cpp b/Libraries/LibWeb/Layout/LayoutCheckBox.cpp
index b63137b2b0..3195044057 100644
--- a/Libraries/LibWeb/Layout/LayoutCheckBox.cpp
+++ b/Libraries/LibWeb/Layout/LayoutCheckBox.cpp
@@ -36,19 +36,14 @@ namespace Web {
LayoutCheckBox::LayoutCheckBox(DOM::Document& document, HTML::HTMLInputElement& element, NonnullRefPtr<CSS::StyleProperties> style)
: LayoutReplaced(document, element, move(style))
{
-}
-
-LayoutCheckBox::~LayoutCheckBox()
-{
-}
-
-void LayoutCheckBox::layout(LayoutMode layout_mode)
-{
set_has_intrinsic_width(true);
set_has_intrinsic_height(true);
set_intrinsic_width(13);
set_intrinsic_height(13);
- LayoutReplaced::layout(layout_mode);
+}
+
+LayoutCheckBox::~LayoutCheckBox()
+{
}
void LayoutCheckBox::paint(PaintContext& context, PaintPhase phase)