scheduler: Remove EmptyFrameScheduler
We aim to forbid V8 execution from the default task runner of the main thread. As one of the steps, this CL removes EmptyFrameScheduler that offers the default task runner instead of a per-frame task runner. By removing this, some assumptions are changed: Before this CL, a Page might not have a PageScheduler. After this CL, a Page always have a PageScheduler. This CL also moves |CSSAnimationsTest::platform_| and other similar variables to their ancenstor |PageTestBase::platform_| in order to assure that a scheduler owned by a platform is destroyed after a local frame is destroyed. This was necessary to pass the tests. Bug: 870606 Change-Id: I39bf80aea5d4ac01da125b47224620605fea16de Reviewed-on: https://chromium-review.googlesource.com/1162083 Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#581135}
Showing
Please register or sign in to comment