diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-10 15:50:16 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-11 00:21:49 +0100 |
commit | 9461e44afa62624564b67b41bf565ee4bee09c22 (patch) | |
tree | 80d4102032d3449f673ed57553753727dbcd9d5e /Userland/Libraries/LibWeb/Layout/FrameBox.cpp | |
parent | 02b316fd5cc2039a30cab33edee4595900cb35aa (diff) | |
download | serenity-9461e44afa62624564b67b41bf565ee4bee09c22.zip |
LibWeb: Use Layout::Box::paint_box() accessor in more places
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/FrameBox.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/FrameBox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/FrameBox.cpp b/Userland/Libraries/LibWeb/Layout/FrameBox.cpp index 538236fb2e..14d5dca26e 100644 --- a/Userland/Libraries/LibWeb/Layout/FrameBox.cpp +++ b/Userland/Libraries/LibWeb/Layout/FrameBox.cpp @@ -37,7 +37,7 @@ void FrameBox::did_set_rect() ReplacedBox::did_set_rect(); VERIFY(dom_node().nested_browsing_context()); - dom_node().nested_browsing_context()->set_size(m_paint_box->content_size().to_type<int>()); + dom_node().nested_browsing_context()->set_size(paint_box()->content_size().to_type<int>()); } OwnPtr<Painting::Paintable> FrameBox::create_paintable() const |