We still enter AC mode on demand but we never leave it for the same drawing area. This avoids scrolling performance problems with some websites that start small accelerated animation while scrolling (like WebKit bugzilla review tool), due to constant enter/leave AC mode.
Created attachment 386342 [details]
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment on attachment 386342 [details]
I'm fine with the change. I'd like to hear from Zan or Miguel though, as they might have a different opinion on the matter.
It makes sense.
Committed r253974: <https://trac.webkit.org/changeset/253974>