Bug 293606

Summary: [WPE] WPE Platform: remove circular dependency between WPEView and WPEBuffer
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WPE WebKitAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Carlos Garcia Campos
Reported 2025-05-27 00:11:34 PDT
WPEBuffer keeps a reference to a WPEView and it's very common in WPEView implementations to keep a reference of the buffer in use. The WPEBuffer doesn't really need the view, in most of the cases it's only used to get the display. So, we can change the view property by display and use a weak reference instead.
Attachments
Carlos Garcia Campos
Comment 1 2025-05-27 00:13:41 PDT
EWS
Comment 2 2025-05-27 02:50:21 PDT
Committed 295435@main (5264807369a3): <https://commits.webkit.org/295435@main> Reviewed commits have been landed. Closing PR #45936 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.