Changeset 259044 in webkit
- Timestamp:
- Mar 26, 2020 8:22:42 AM (4 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r259041 r259044 1 2020-03-26 Michael Catanzaro <mcatanzaro@gnome.org> 2 3 [GTK] Crash in WebKit::LayerTreeHost::LayerTreeHost with bubblewrap sandbox enabled 4 https://bugs.webkit.org/show_bug.cgi?id=209106 5 6 Reviewed by Carlos Garcia Campos. 7 8 Don't bind the WaylandCompositor socket unless we're running under Wayland and it's actually 9 started successfully. 10 11 * UIProcess/Launcher/glib/BubblewrapLauncher.cpp: 12 (WebKit::bindWayland): 13 1 14 2020-03-26 David Kilzer <ddkilzer@apple.com> 2 15 -
trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
r258923 r259044 328 328 static void bindWayland(Vector<CString>& args) 329 329 { 330 if (PlatformDisplay::sharedDisplay().type() != PlatformDisplay::Type::Wayland) 331 return; 332 330 333 const char* display = g_getenv("WAYLAND_DISPLAY"); 331 334 if (!display) … … 336 339 bindIfExists(args, waylandRuntimeFile.get(), BindFlags::ReadWrite); 337 340 338 #if PLATFORM(GTK) && !USE(WPE_RENDERER) 339 String displayName = WaylandCompositor::singleton().displayName(); 340 waylandRuntimeFile.reset(g_build_filename(runtimeDir, displayName.utf8().data(), nullptr)); 341 bindIfExists(args, waylandRuntimeFile.get(), BindFlags::ReadWrite); 341 #if !USE(WPE_RENDERER) 342 if (WaylandCompositor::singleton().isRunning()) { 343 String displayName = WaylandCompositor::singleton().displayName(); 344 waylandRuntimeFile.reset(g_build_filename(runtimeDir, displayName.utf8().data(), nullptr)); 345 bindIfExists(args, waylandRuntimeFile.get(), BindFlags::ReadWrite); 346 } 342 347 #endif 343 348 }
Note: See TracChangeset
for help on using the changeset viewer.