After 264679@main, deciding whether an image should be decoded asynchronously or not, now depends on the flag NodeRareData::m_hasEverPaintedImages. No layer state will affect this decision anymore. So GraphicsLayerPaintBehavior can be removed. This will allow removing RemoteLayerTreeContext::setNextRenderingUpdateRequiresSynchronousImageDecoding() and LocalFrameView::invalidateImagesWithAsyncDecodes() as well.
<rdar://problem/110272345>
Pull request: https://github.com/WebKit/WebKit/pull/14678
GraphicsLayerPaintBehavior is still used after https://commits.webkit.org/265328@main.