Sending the gradient data to GPUProcess every time it is used forces creating the platform gradient. To avoid creating the platform gradient, we are going to cache Gradient as a rendering resource in GPUProcess. So the object (and its platform gradient) will stay alive in GPUProcess as long as the WebProcess gradient is alive.
<rdar://problem/106447608>
Pull request: https://github.com/WebKit/WebKit/pull/11252
Committed 262185@main (676af9d86baa): <https://commits.webkit.org/262185@main> Reviewed commits have been landed. Closing PR #11252 and removing active labels.