mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibWeb: Use FrameLoader to load iframes :^)
This commit is contained in:
parent
075bd75859
commit
5c0ee72b30
3 changed files with 9 additions and 16 deletions
|
@ -48,6 +48,8 @@ LayoutFrame::~LayoutFrame()
|
|||
|
||||
void LayoutFrame::layout(LayoutMode layout_mode)
|
||||
{
|
||||
ASSERT(node().hosted_frame());
|
||||
|
||||
set_has_intrinsic_width(true);
|
||||
set_has_intrinsic_height(true);
|
||||
// FIXME: Do proper error checking, etc.
|
||||
|
@ -81,8 +83,6 @@ void LayoutFrame::did_set_rect()
|
|||
|
||||
ASSERT(node().hosted_frame());
|
||||
node().hosted_frame()->set_size(Gfx::Size(rect().width(), rect().height()));
|
||||
|
||||
node().hosted_frame()->document()->layout();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue