commit | f8c107089394302ca84e7dd536c3eb937e38904f | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Mon Jul 09 14:21:28 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 09 14:21:28 2018 |
tree | a358c30c0eec131c354cec40725900ce28c09be2 | |
parent | 7868f58d7acb0dcee73d335e6f28fb2d371dcdfe [diff] |
Use TimeDelta in FirstMeaningfulPaintDetector This changes the |network2_quiet_window_seconds_| and |network0_quiet_window_seconds_| fields from double to TimeDelta, renaming them to not have 'seconds' in the name (replaced by 'timeout'.) Adjust the unit test, and replace AdvanceClockSeconds with AdvanceClock throughout. Add a new TestingPlatformSupportWithMockScheduler::RunForPeriod, mimicking the setup for AdvanceClock{,Seconds}. Bug: 763980 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I9316759a30c6fbe3fb4d7ea15106d6c47366ba33 Reviewed-on: https://chromium-review.googlesource.com/1127779 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org> Reviewed-by: Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#573298}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .