summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-24 13:49:57 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-24 15:12:15 +0200
commitf8dd3e14bae66bc9b3b26f4f896d9ca43f26e274 (patch)
treedd1c2eab045fa1d45fd298de7bddd98454157656 /Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
parent3dc6f0bc4718f5f54f2d18119a0f9fe457c283a8 (diff)
downloadserenity-f8dd3e14bae66bc9b3b26f4f896d9ca43f26e274.zip
LibWeb: Rename CSS::StyleResolver => StyleComputer
Resolved style is a spec concept that refers to the weird mix of computed style and used style reflected by getComputedStyle(). The purpose of this class is to produce the *computed* style for a given element, so let's call it StyleComputer.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
index 1b5edea58c..8a33217a15 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
@@ -23,7 +23,7 @@ HTMLIFrameElement::~HTMLIFrameElement()
RefPtr<Layout::Node> HTMLIFrameElement::create_layout_node()
{
- auto style = document().style_resolver().resolve_style(*this);
+ auto style = document().style_computer().compute_style(*this);
return adopt_ref(*new Layout::FrameBox(document(), *this, move(style)));
}