Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 977b091711224b2a2d8dffaaf449d13d064d9808 https://github.com/WebKit/WebKit/commit/977b091711224b2a2d8dffaaf449d13d064d9808 Author: Matt Woodrow <mattwood...@apple.com> Date: 2024-04-11 (Thu, 11 Apr 2024)
Changed paths: M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm Log Message: ----------- hideContentUntilPendingUpdate should not unconditionally create a process throttler activity. https://bugs.webkit.org/show_bug.cgi?id=272423 <rdar://122365213> Reviewed by Tim Horton. hideContentUntilPendingUpdate uses a round-trip to the WebContent process, where the reply is bundled into the following layer transaction. This ensures that any previous IPC messages from the UI process have been received, and we remain hidden until the next layer transaction sent after those messages. We don't need to hold a background activity and keep the WebProcess unsuspended during this process, and applicationDidFinishSnapshottingAfterEnteringBackground is explicitly trying to suspend with the intent that the un-hiding happens on the first paint after returning from the background. * Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm: (WebKit::RemoteLayerTreeDrawingAreaProxy::hideContentUntilPendingUpdate): Canonical link: https://commits.webkit.org/277398@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes