mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWeb: Avoid ref-count churn when diffing computed styles
This commit is contained in:
committed by
Andreas Kling
parent
5d38e37a53
commit
eef11001ec
Notes:
github-actions[bot]
2026-04-25 06:49:15 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/eef11001ec3 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/9080
@@ -31,6 +31,6 @@ struct RequiredInvalidationAfterStyleChange {
|
||||
static RequiredInvalidationAfterStyleChange full() { return { true, true, true, true, false }; }
|
||||
};
|
||||
|
||||
RequiredInvalidationAfterStyleChange compute_property_invalidation(CSS::PropertyID property_id, ValueComparingRefPtr<StyleValue const> const& old_value, ValueComparingRefPtr<StyleValue const> const& new_value);
|
||||
RequiredInvalidationAfterStyleChange compute_property_invalidation(CSS::PropertyID property_id, StyleValue const* old_value, StyleValue const* new_value);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user