diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 14:35:54 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 14:35:54 +0100 |
commit | 8bb75084fd2956ae431789742c4fe6d0ed0679bd (patch) | |
tree | f9bef8dc69cf8ec55283f71cdc13087ea67c6dde /Libraries/LibHTML/Layout/LayoutBox.h | |
parent | 5c2028db24943332f7707fc7f2d026fe027d957e (diff) | |
download | serenity-8bb75084fd2956ae431789742c4fe6d0ed0679bd.zip |
LibGfx: Unpublish FloatPoint from the global namespace
Diffstat (limited to 'Libraries/LibHTML/Layout/LayoutBox.h')
-rw-r--r-- | Libraries/LibHTML/Layout/LayoutBox.h | 2 |
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; |