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

LibWeb: Make CSS ParsingContext::m_url not Optional

This always has a value, so let's make that clearer.
This commit is contained in:
Sam Atkins 2022-04-25 16:17:21 +01:00 committed by Andreas Kling
parent 25970f2763
commit 761d29d647
2 changed files with 4 additions and 4 deletions

View file

@ -36,7 +36,7 @@ class ParsingContext {
public:
ParsingContext() = default;
explicit ParsingContext(DOM::Document const&);
explicit ParsingContext(DOM::Document const&, Optional<AK::URL> const);
explicit ParsingContext(DOM::Document const&, AK::URL);
explicit ParsingContext(DOM::ParentNode&);
bool in_quirks_mode() const;
@ -49,7 +49,7 @@ public:
private:
DOM::Document const* m_document { nullptr };
PropertyID m_current_property_id { PropertyID::Invalid };
Optional<AK::URL> m_url;
AK::URL m_url;
};
template<typename T>