Update Chrome callsites that use MainThreadFrameObserver
MainThreadFrameObserver does not guarantee that a compositor frame was actually submitted. It however does synchronize the Renderer's main thread, which allows for syncing Javascript execution in tests. This updates two tests in chrome/browser to use RenderFrameSubmissionObserver for synchronizing on compositor frame submission. As well as InputEventAckWaiter for synchronizing on input event processing. TEST=WebViewTest.InterstitialPageFocusedWidget, WebViewBrowserPluginSpecificInteractiveTest.EnsureFocusSynced Bug: 862683 Change-Id: Iae40b92dedf656898b9e77c6529ef118d89e0a6e Reviewed-on: https://chromium-review.googlesource.com/1133960Reviewed-by:Fady Samuel <fsamuel@chromium.org> Commit-Queue: Jonathan Ross <jonross@chromium.org> Cr-Commit-Position: refs/heads/master@{#574335}
Showing
Please register or sign in to comment