| Index: ui/ozone/platform/dri/dri_vsync_provider.cc
|
| diff --git a/ui/ozone/platform/dri/dri_vsync_provider.cc b/ui/ozone/platform/dri/dri_vsync_provider.cc
|
| index bf88c5d94ded27d4f06d67feb51905effa016e0a..2797dc9cec46a2a2f38259023df8cb3e0eb9e315 100644
|
| --- a/ui/ozone/platform/dri/dri_vsync_provider.cc
|
| +++ b/ui/ozone/platform/dri/dri_vsync_provider.cc
|
| @@ -23,8 +23,11 @@ void DriVSyncProvider::GetVSyncParameters(const UpdateVSyncCallback& callback) {
|
|
|
| // The value is invalid, so we can't update the parameters.
|
| if (controller->GetTimeOfLastFlip() == 0 ||
|
| - controller->get_mode().vrefresh == 0)
|
| + controller->get_mode().vrefresh == 0) {
|
| + callback.Run(base::TimeTicks(),
|
| + base::TimeDelta::FromSecondsD(1.0f / 60.0f));
|
| return;
|
| + }
|
|
|
| // Stores the time of the last refresh.
|
| base::TimeTicks timebase =
|
|
|