[webkit-changes] [WebKit/WebKit] 35cb17: [WPE] WPE Platform: copy toplevel views values to ...

Carlos Garcia Campos noreply at github.com
Tue Jul 2 00:41:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 35cb1751bf8f1f7efc59fe033cf8a95ad5803c05
      https://github.com/WebKit/WebKit/commit/35cb1751bf8f1f7efc59fe033cf8a95ad5803c05
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M Source/WebKit/WPEPlatform/wpe/WPEToplevel.cpp

  Log Message:
  -----------
  [WPE] WPE Platform: copy toplevel views values to a vector when iterating them
https://bugs.webkit.org/show_bug.cgi?id=276071

Reviewed by Nikolas Zimmermann.

We iterate the toplevel views to notify them about changes, that can
emit signals and that could destroy the view causing the map to change
while being iterated.

* Source/WebKit/WPEPlatform/wpe/WPEToplevel.cpp:
(wpe_toplevel_foreach_view):
(wpe_toplevel_closed):
(wpe_toplevel_state_changed):
(wpe_toplevel_scale_changed):
(wpe_toplevel_monitor_changed):
(wpe_toplevel_preferred_dma_buf_formats_changed):

Canonical link: https://commits.webkit.org/280566@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list