| Index: content/browser/wake_lock/wake_lock_browsertest.cc
|
| diff --git a/content/browser/wake_lock/wake_lock_browsertest.cc b/content/browser/wake_lock/wake_lock_browsertest.cc
|
| index 3ac458973ceccc5f3f850e5570ec88494bf13e11..59e3ab71e1c0e168d3a7543725beafdf5517eee5 100644
|
| --- a/content/browser/wake_lock/wake_lock_browsertest.cc
|
| +++ b/content/browser/wake_lock/wake_lock_browsertest.cc
|
| @@ -73,10 +73,10 @@ class WakeLockTest : public ContentBrowserTest {
|
| void WaitForPossibleUpdate() {
|
| // As Mojo channels have no common FIFO order in respect to each other and
|
| // to the Chromium IPC, we cannot assume that when screen.keepAwake state
|
| - // is changed from within a script, WakeLockService will receive an update
|
| - // request before ExecuteScript() returns. Therefore, some time slack is
|
| - // needed to make sure that WakeLockService has received any possible update
|
| - // requests before checking the resulting wake lock state.
|
| + // is changed from within a script, mojom::WakeLockService will receive an
|
| + // update request before ExecuteScript() returns. Therefore, some time slack
|
| + // is needed to make sure that mojom::WakeLockService has received any
|
| + // possible update requests before checking the resulting wake lock state.
|
| base::PlatformThread::Sleep(TestTimeouts::tiny_timeout());
|
| RunAllPendingInMessageLoop();
|
| }
|
|
|