1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 22:05:07 +00:00

LibWeb: Rename HTMLIFrameElement::hosted_frame() => content_frame()

This matches the standard API names contentWindow and contentDocument.
This commit is contained in:
Andreas Kling 2020-09-22 17:48:04 +02:00
parent 69bbf0285b
commit 86a4eaca38
4 changed files with 15 additions and 15 deletions

View file

@ -39,8 +39,8 @@ public:
virtual RefPtr<LayoutNode> create_layout_node(const CSS::StyleProperties* parent_style) override;
Frame* hosted_frame() { return m_hosted_frame; }
const Frame* hosted_frame() const { return m_hosted_frame; }
Frame* content_frame() { return m_content_frame; }
const Frame* content_frame() const { return m_content_frame; }
const DOM::Document* content_document() const;
@ -50,7 +50,7 @@ private:
void load_src(const String&);
RefPtr<Frame> m_hosted_frame;
RefPtr<Frame> m_content_frame;
};
}