summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/Layout/LayoutBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibHTML/Layout/LayoutBox.h')
-rw-r--r--Libraries/LibHTML/Layout/LayoutBox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibHTML/Layout/LayoutBox.h b/Libraries/LibHTML/Layout/LayoutBox.h
index 78d617f859..5c9a226faf 100644
--- a/Libraries/LibHTML/Layout/LayoutBox.h
+++ b/Libraries/LibHTML/Layout/LayoutBox.h
@@ -40,7 +40,7 @@ public:
float width() const { return rect().width(); }
float height() const { return rect().height(); }
Gfx::FloatSize size() const { return rect().size(); }
- FloatPoint position() const { return rect().location(); }
+ Gfx::FloatPoint position() const { return rect().location(); }
virtual HitTestResult hit_test(const Gfx::Point& position) const override;
virtual void set_needs_display() override;