Check that LayerTreeHost was created before use
Created attachment 344443 [details]
I'm not sure if this is the best way to handle this, but while working on web inspector for wincairo non-legacy, we hit crashes just after this point because LayerTreeHost::create returns nullptr if not USE(COORDINATED_GRAPHICS_THREADED) but this code acts as if it will always get one.
I think Windows WK2 MiniBrowser should disable AC by using WKPreferencesSetAcceleratedDrawingEnabled until AC is supported.
Ah. Your primary aim is the web inspector. IIRC, the web inspector is using AC to paint element highlights.
Stephan, what will happen in AC mode pages after applying your change? All becomes blank pages instead of having crash?
Comment on attachment 344443 [details]
Clearing flags on attachment: 344443
Committed r233647: <https://trac.webkit.org/changeset/233647>
All reviewed patches have been landed. Closing bug.
Bug 187503 – [Win][MiniBrowser] Disable accelerated compositing until it is supported