mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
LibWeb: Remove StyleProperties::set_property(PropertyID, StringView)
This API has no more clients (and the last client that I just removed wasn't even using it right) so let's get rid of it.
This commit is contained in:
parent
5c132724ea
commit
84b15cc7b1
Notes:
sideshowbarker
2024-07-18 01:49:05 +09:00
Author: https://github.com/awesomekling
Commit: 84b15cc7b1
2 changed files with 0 additions and 6 deletions
|
@ -39,11 +39,6 @@ void StyleProperties::set_property(CSS::PropertyID id, NonnullRefPtr<StyleValue>
|
|||
m_property_values.set(id, move(value));
|
||||
}
|
||||
|
||||
void StyleProperties::set_property(CSS::PropertyID id, const StringView& value)
|
||||
{
|
||||
m_property_values.set(id, StringStyleValue::create(value));
|
||||
}
|
||||
|
||||
Optional<NonnullRefPtr<StyleValue>> StyleProperties::property(CSS::PropertyID property_id) const
|
||||
{
|
||||
auto it = m_property_values.find(property_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue