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
Notes: sideshowbarker 2024-07-19 02:16:30 +09:00
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;
};
}