| Index: media/base/bind_to_current_loop_unittest.cc
|
| diff --git a/media/base/bind_to_current_loop_unittest.cc b/media/base/bind_to_current_loop_unittest.cc
|
| index f576068784a5444feabc6ace300d21bf5c04e9e3..68c4e1e16c1f1497d5ff5a226105911cd79ee36a 100644
|
| --- a/media/base/bind_to_current_loop_unittest.cc
|
| +++ b/media/base/bind_to_current_loop_unittest.cc
|
| @@ -50,7 +50,8 @@ class BindToCurrentLoopTest : public ::testing::Test {
|
|
|
| TEST_F(BindToCurrentLoopTest, Closure) {
|
| // Test the closure is run inside the loop, not outside it.
|
| - base::WaitableEvent waiter(false, false);
|
| + base::WaitableEvent waiter(base::WaitableEvent::ResetPolicy::AUTOMATIC,
|
| + base::WaitableEvent::InitialState::NOT_SIGNALED);
|
| base::Closure cb = BindToCurrentLoop(base::Bind(
|
| &base::WaitableEvent::Signal, base::Unretained(&waiter)));
|
| cb.Run();
|
|
|