Refactor ScrollAnimatorMac to use CancellableTaskFactory
Refactor ScrollAnimatorMac to use CancellableTaskFactory because the
unittests trigger ScrollAnimatorMac::sendContentAreaScrolledSoon which
causes an assert (TestingPlatformMockWebTaskRunner::
monotonicallyIncreasingVirtualTimeSeconds is called) to fire after
https://codereview.chromium.org/1646583002 lands.
Changing over to CancellableTaskFactory means we can bypass the
assert.
BUG=546953
Review URL: https://codereview.chromium.org/1716713003
Cr-Commit-Position: refs/heads/master@{#376453}
3 files changed