| Summary: | [GPUProcess] Update GPUProcess process assertion based on active WebProcesses | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
| Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | darin, ggaren, simon.fraser, thorton, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Chris Dumez
2020-11-16 13:17:26 PST
Created attachment 414274 [details]
Patch
Committed r269879: <https://trac.webkit.org/changeset/269879> All reviewed patches have been landed. Closing bug and clearing flags on attachment 414274 [details]. Comment on attachment 414274 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=414274&action=review > Source/WebKit/UIProcess/GPU/GPUProcessProxy.cpp:288 > + // Use std::exchange() instead of a simple nullptr assignment to avoid re-entering this > + // function during the destructor of the ProcessThrottler activity, before setting > + // m_activityFromWebProcesses. > + std::exchange(m_activityFromWebProcesses, nullptr); Could this be fixed by changing the Variant implementation instead? I remember something similar for our smart pointers and we fixed that in the smart pointer class rather than at call sites. |