mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 06:32:26 +02:00
LibWeb: Make HTML::Window::page() return a Page&
This commit is contained in:
@@ -40,7 +40,7 @@ void Screen::visit_edges(Cell::Visitor& visitor)
|
||||
|
||||
Gfx::IntRect Screen::screen_rect() const
|
||||
{
|
||||
auto screen_rect_in_css_pixels = window().page()->web_exposed_screen_area();
|
||||
auto screen_rect_in_css_pixels = window().page().web_exposed_screen_area();
|
||||
return {
|
||||
screen_rect_in_css_pixels.x().to_int(),
|
||||
screen_rect_in_css_pixels.y().to_int(),
|
||||
|
||||
Reference in New Issue
Block a user