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+

Carlos Garcia Campos
Reported 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.
Attachments
Patch (2.08 KB, patch)
2019-02-11 04:08 PST, Carlos Garcia Campos
zan: review+
Carlos Garcia Campos
Comment 1 2019-02-11 04:08:44 PST
Carlos Garcia Campos
Comment 2 2019-02-11 06:08:11 PST
Note You need to log in before you can comment on or make changes to this bug.