| Index: base/win/object_watcher_unittest.cc
|
| diff --git a/base/win/object_watcher_unittest.cc b/base/win/object_watcher_unittest.cc
|
| index 7e83e2a83c416d994e486c817971eb02e4e63b36..9f57e34a66a3d610d2de76c0bcb0ecbd18eb610c 100644
|
| --- a/base/win/object_watcher_unittest.cc
|
| +++ b/base/win/object_watcher_unittest.cc
|
| @@ -42,7 +42,7 @@ void RunTest_BasicSignal(MessageLoop::Type message_loop_type) {
|
| base::win::ScopedHandle event(CreateEvent(NULL, TRUE, FALSE, NULL));
|
|
|
| QuitDelegate delegate;
|
| - bool ok = watcher.StartWatching(event.Get(), &delegate);
|
| + bool ok = watcher.StartWatching(event.Get(), &delegate, false);
|
| EXPECT_TRUE(ok);
|
| EXPECT_TRUE(watcher.IsWatching());
|
| EXPECT_EQ(event.Get(), watcher.GetWatchedObject());
|
| @@ -63,7 +63,7 @@ void RunTest_BasicCancel(MessageLoop::Type message_loop_type) {
|
| base::win::ScopedHandle event(CreateEvent(NULL, TRUE, FALSE, NULL));
|
|
|
| QuitDelegate delegate;
|
| - bool ok = watcher.StartWatching(event.Get(), &delegate);
|
| + bool ok = watcher.StartWatching(event.Get(), &delegate, false);
|
| EXPECT_TRUE(ok);
|
|
|
| watcher.StopWatching();
|
| @@ -80,7 +80,7 @@ void RunTest_CancelAfterSet(MessageLoop::Type message_loop_type) {
|
| // A manual-reset event that is not yet signaled.
|
| base::win::ScopedHandle event(CreateEvent(NULL, TRUE, FALSE, NULL));
|
|
|
| - bool ok = watcher.StartWatching(event.Get(), &delegate);
|
| + bool ok = watcher.StartWatching(event.Get(), &delegate, false);
|
| EXPECT_TRUE(ok);
|
|
|
| SetEvent(event.Get());
|
| @@ -105,7 +105,7 @@ void RunTest_SignalBeforeWatch(MessageLoop::Type message_loop_type) {
|
| base::win::ScopedHandle event(CreateEvent(NULL, TRUE, TRUE, NULL));
|
|
|
| QuitDelegate delegate;
|
| - bool ok = watcher.StartWatching(event.Get(), &delegate);
|
| + bool ok = watcher.StartWatching(event.Get(), &delegate, false);
|
| EXPECT_TRUE(ok);
|
|
|
| MessageLoop::current()->Run();
|
| @@ -125,7 +125,7 @@ void RunTest_OutlivesMessageLoop(MessageLoop::Type message_loop_type) {
|
| MessageLoop message_loop(message_loop_type);
|
|
|
| QuitDelegate delegate;
|
| - watcher.StartWatching(event.Get(), &delegate);
|
| + watcher.StartWatching(event.Get(), &delegate, false);
|
| }
|
| }
|
| }
|
|
|