Compositor Animation Timelines: Fix frame swapping tests in WebFrameTest.cpp
We want to enable compositor animation timelines (external cc::AnimationHost) mode by default here:
https://codereview.chromium.org/1308053006/
So we need to notify Page and ScrollingCoordinator on main frame swapping.
Otherwise, the following webkit_unit_tests fail in new mode:
WebFrameTest.SwapMainFrameWhileLoading
WebFrameSwapTest.FramesOfRemoteParentAreIndexable
WebFrameSwapTest.FrameElementInFramesWithRemoteParent
Note that this code works only in --site-per-process mode.
BUG=394777
Review URL: https://codereview.chromium.org/1459023002
Cr-Commit-Position: refs/heads/master@{#363128}
7 files changed