diff options
author | Andreas Kling <kling@serenityos.org> | 2020-09-22 17:48:04 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-22 20:10:20 +0200 |
commit | 86a4eaca389f6ab4f0250c666833cddf34ddcafa (patch) | |
tree | e1854ec0e40b472dcd4be915bf5d5424fa201f14 /Libraries/LibWeb/HTML/HTMLIFrameElement.h | |
parent | 69bbf0285bf6e5ce85956aed3d86075a9ddf65b9 (diff) | |
download | serenity-86a4eaca389f6ab4f0250c666833cddf34ddcafa.zip |
LibWeb: Rename HTMLIFrameElement::hosted_frame() => content_frame()
This matches the standard API names contentWindow and contentDocument.
Diffstat (limited to 'Libraries/LibWeb/HTML/HTMLIFrameElement.h')
-rw-r--r-- | Libraries/LibWeb/HTML/HTMLIFrameElement.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibWeb/HTML/HTMLIFrameElement.h b/Libraries/LibWeb/HTML/HTMLIFrameElement.h index caf639ae63..ed377d2abf 100644 --- a/Libraries/LibWeb/HTML/HTMLIFrameElement.h +++ b/Libraries/LibWeb/HTML/HTMLIFrameElement.h @@ -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; }; } |