mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
Meta+Userland: Pass Gfx::FloatPoint by value
Just a small 8-byte value like Gfx::IntPoint.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 03:41:31 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/e011eafd37 Pull-request: https://github.com/SerenityOS/serenity/pull/16344
@@ -46,7 +46,7 @@ public:
|
||||
|
||||
void set_original_rect(Gfx::IntRect const& rect) { m_original_rect = rect; }
|
||||
void set_content_rect(Gfx::IntRect const& content_rect);
|
||||
void set_origin(Gfx::FloatPoint const& origin) { m_origin = origin; }
|
||||
void set_origin(Gfx::FloatPoint origin) { m_origin = origin; }
|
||||
|
||||
void reset_view();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user