Bug 194497

Summary: [WPE] Do not try to create empty egl windows
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, webkit-bug-importer, zan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch zan: review+

Description Carlos Garcia Campos 2019-02-11 04:06:49 PST
In AcceleratedSurfaceWPE we ensure the size we pass to wpe is at least 0x0, but wl_egl_window_create() returns nullptr if 0 is passed as width or height. We should use at least 1x1 instead.
Comment 1 Carlos Garcia Campos 2019-02-11 04:08:44 PST
Created attachment 361671 [details]
Patch
Comment 2 Carlos Garcia Campos 2019-02-11 06:08:11 PST
Committed r241262: <https://trac.webkit.org/changeset/241262>