diff options
author | Andreas Kling <kling@serenityos.org> | 2021-09-09 18:08:56 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-09 21:25:10 +0200 |
commit | e1fb8bef0907f2da74f81ea0f61457e77451a79f (patch) | |
tree | 0caaf09f0343ab077709234a04f1a5c74fb69429 /Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp | |
parent | 0839442da5b5bf03a02b295278f996a07c08e57c (diff) | |
download | serenity-e1fb8bef0907f2da74f81ea0f61457e77451a79f.zip |
LibWeb: Rename Document::complete_url() => parse_url()
This better matches the spec nomenclature.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp index e34442cea5..3cbcca10b7 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.cpp @@ -65,7 +65,7 @@ void HTMLImageElement::parse_attribute(const FlyString& name, const String& valu HTMLElement::parse_attribute(name, value); if (name == HTML::AttributeNames::src && !value.is_empty()) - m_image_loader.load(document().complete_url(value)); + m_image_loader.load(document().parse_url(value)); } RefPtr<Layout::Node> HTMLImageElement::create_layout_node() |