Adding 'AddTaskTime' to ServiceScriptedAnimation calls to capture rAF.

This change is a predecessor to moving AddTaskTime out of the
schedulers and into the PerformanceMonitor.  Since that requires a
large overhaul of the existing framework, this change will provide
actionable numbers for CPU performance on ad frames, even if some
events are still being missed (there is evidence rAF is a large
contributor to overall CPU time).

Bug: 937298
Change-Id: Ifd51400192cf008a3d4fd127f0cbead66955f5b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1594692
Reviewed-by: Nate Chapin <japhet@chromium.org>
Reviewed-by: Josh Karlin <jkarlin@chromium.org>
Reviewed-by: Alexander Timin <altimin@chromium.org>
Reviewed-by: Charlie Harrison <csharrison@chromium.org>
Commit-Queue: Eric Robinson <ericrobinson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#657453}
11 files changed