forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use mockable time in CompositorFrameReportingController
This CL adds the possibility to inject a base::TickClock* into CompositorFrameReportingController, so its timing can be mocked by tests. CompositorFrameReportingControllerTest is also updated to make use of this. Bug: 1054009,1057193 Change-Id: I6ece91efe32395a37c14cd4ca4c59da9f2e05da0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159894 Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Mohsen Izadi <mohsen@chromium.org> Cr-Commit-Position: refs/heads/master@{#762104}
- Loading branch information
Mohsen Izadi
authored and
Commit Bot
committed
Apr 23, 2020
1 parent
247cab0
commit 8461d62
Showing
3 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters