summaryrefslogtreecommitdiff
path: root/Userland/Utilities
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-10-24 12:59:24 +0100
committerLinus Groh <mail@linusgroh.de>2022-12-10 12:03:19 +0000
commitd3476c28bafcf64643d0d306d9d03ec81464867a (patch)
treeea291a507ed298ea3a91cb57cd097f36f853fab4 /Userland/Utilities
parent3c7bd5a317515ac572610eba2919c82dcd320a1e (diff)
downloadserenity-d3476c28bafcf64643d0d306d9d03ec81464867a.zip
LibWeb+WebContent+headless-browser: Remove PaintContext::scroll_offset()
Nobody uses this. They get the scroll_offset from the BlockContainer instead.
Diffstat (limited to 'Userland/Utilities')
-rw-r--r--Userland/Utilities/headless-browser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/headless-browser.cpp b/Userland/Utilities/headless-browser.cpp
index de7e0569be..1310932f85 100644
--- a/Userland/Utilities/headless-browser.cpp
+++ b/Userland/Utilities/headless-browser.cpp
@@ -87,7 +87,7 @@ public:
return;
}
- Web::PaintContext context(painter, palette(), content_rect.top_left().to_type<int>());
+ Web::PaintContext context(painter, palette());
context.set_should_show_line_box_borders(false);
context.set_viewport_rect(content_rect.to_type<int>());
context.set_has_focus(true);