Fix running of CSS Animations in SVG-in-<img>/background-image/etc.

Align SVGImageChromeClient with the WebViewImpl/PageWidgetDelegate/...-
cluster and call updateLayoutAndStyleForPainting on FrameView instead of
updateLayoutAndStyleIfNeededRecursive to make pending animations start
etc.

Also add a new method to DocumentTimeline to use when scheduling the
animation-timer in SVGImageChromeClient (to avoid '0' timeouts when
there's pending animations updates.)

BUG=278189

Review URL: https://codereview.chromium.org/196223014

git-svn-id: svn://svn.chromium.org/blink/trunk@169340 bbb929c8-8fbe-4397-9dbb-9b2b20218538
6 files changed
tree: 35bbfa4fd77b11f2a3c0e4b675c351ea2f22d5bb
  1. third_party/