Changeset 260750 in webkit
- Timestamp:
- Apr 27, 2020 4:52:10 AM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r260749 r260750 1 2020-04-27 Alberto Garcia <berto@igalia.com> 2 3 [GTK] [2.28.0] The Yelp build crashes if DISPLAY is not set 4 https://bugs.webkit.org/show_bug.cgi?id=209431 5 6 Reviewed by Carlos Garcia Campos. 7 8 Don't create a PlatformDisplayLibWPE as a fallback when using 9 Wayland or X11. 10 11 * platform/graphics/PlatformDisplay.cpp: 12 (WebCore::PlatformDisplay::createPlatformDisplay): 13 1 14 2020-04-27 Claudio Saavedra <csaavedra@igalia.com> 2 15 -
trunk/Source/WebCore/platform/graphics/PlatformDisplay.cpp
r260418 r260750 99 99 #endif // PLATFORM(GTK) 100 100 101 #if PLATFORM(WAYLAND) 102 if (auto platformDisplay = PlatformDisplayWayland::create()) 103 return platformDisplay; 104 #endif 105 106 #if PLATFORM(X11) 107 if (auto platformDisplay = PlatformDisplayX11::create()) 108 return platformDisplay; 109 #endif 110 111 // If at this point we still don't have a display, just create a fake display with no native. 112 #if PLATFORM(WAYLAND) 113 return PlatformDisplayWayland::create(nullptr); 114 #elif PLATFORM(X11) 115 return PlatformDisplayX11::create(nullptr); 116 #endif 117 101 118 #if USE(WPE_RENDERER) 102 119 return PlatformDisplayLibWPE::create(); 103 120 #elif PLATFORM(WIN) 104 121 return PlatformDisplayWin::create(); 105 #endif106 107 #if PLATFORM(WAYLAND)108 if (auto platformDisplay = PlatformDisplayWayland::create())109 return platformDisplay;110 #endif111 112 #if PLATFORM(X11)113 if (auto platformDisplay = PlatformDisplayX11::create())114 return platformDisplay;115 #endif116 117 // If at this point we still don't have a display, just create a fake display with no native.118 #if PLATFORM(WAYLAND)119 return PlatformDisplayWayland::create(nullptr);120 #elif PLATFORM(X11)121 return PlatformDisplayX11::create(nullptr);122 122 #endif 123 123
Note: See TracChangeset
for help on using the changeset viewer.