Changeset 275885 in webkit
- Timestamp:
- Apr 13, 2021, 8:30:48 AM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebKitTestRunner/gtk/PlatformWebViewGtk.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r275884 r275885 1 2021-04-13 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK4] WTR crash in PlatformWebView::dismissAllPopupMenus() 4 https://bugs.webkit.org/show_bug.cgi?id=224487 5 6 Reviewed by Philippe Normand. 7 8 This is because we are using a for loop to iterate children that are destroyed. We should not be destroying the 9 children, though, we should just hide them, since they are owned by the web view. 10 11 * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp: 12 (WTR::PlatformWebView::dismissAllPopupMenus): 13 1 14 2021-04-13 Aakash Jain <aakash_jain@apple.com> 2 15 -
trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp
r262414 r275885 251 251 for (auto* child = gtk_widget_get_first_child(GTK_WIDGET(m_view)); child; child = gtk_widget_get_next_sibling(child)) { 252 252 if (GTK_IS_POPOVER(child)) 253 gtk_widget_ unparent(child);253 gtk_widget_hide(child); 254 254 } 255 255 #else
Note:
See TracChangeset
for help on using the changeset viewer.