We currently use a suspend counter to ensure that if a target buffer is missing initially, blitting to screen / target buffer will not happen.
The patch below reduces complexity by relying on the current state, rather than the suspend counter, which in turn makes it possible to simplify the code in setCompositor().
Created attachment 202432 [details]
Created attachment 202436 [details]
Whoops, forgot to include the description part of the commit message.
Created attachment 202860 [details]
Not sure why the patch didn't like to be applied. It cherry-picked fine from my git branch onto (git-)SVN trunk, ChangeLog aside. Trying again - this time coming straight from the svn/master branch, hopefully the bots like me better this time.
LGTM, passed internal review :)
Comment on attachment 202860 [details]
Clearing flags on attachment: 202860
Committed r150735: <http://trac.webkit.org/changeset/150735>
All reviewed patches have been landed. Closing bug.