mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Don't queue rendering task for empty display lists
This commit is contained in:
committed by
Jelle Raaijmakers
parent
cf143cf118
commit
bc0ec84100
Notes:
github-actions[bot]
2025-04-02 21:23:39 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/bc0ec84100c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4199 Reviewed-by: https://github.com/gmta ✅
@@ -98,7 +98,7 @@ public:
|
||||
[[nodiscard]] GC::Ptr<DOM::Node> currently_focused_area();
|
||||
|
||||
RefPtr<Painting::DisplayList> record_display_list(DevicePixelRect const&, PaintOptions);
|
||||
void start_display_list_rendering(RefPtr<Painting::DisplayList> display_list, NonnullRefPtr<Gfx::PaintingSurface> painting_surface, Function<void()>&& callback);
|
||||
void start_display_list_rendering(NonnullRefPtr<Painting::DisplayList> display_list, NonnullRefPtr<Gfx::PaintingSurface> painting_surface, Function<void()>&& callback);
|
||||
|
||||
enum class CheckIfUnloadingIsCanceledResult {
|
||||
CanceledByBeforeUnload,
|
||||
|
||||
Reference in New Issue
Block a user