mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibWeb: Make HTML::Window::page() return a Page&
This commit is contained in:
parent
7c95ebc302
commit
9793d69d4f
10 changed files with 40 additions and 83 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue