Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10877)

Unified Diff: chrome/service/service_ipc_server_unittest.cc

Issue 2021393004: Migrate WaitableEvent to enum-based constructor in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WEvent_enums
Patch Set: Split out custom changes to thread_watcher_unittest.cc Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/service/service_ipc_server_unittest.cc
diff --git a/chrome/service/service_ipc_server_unittest.cc b/chrome/service/service_ipc_server_unittest.cc
index 13a04c6e4d7980ec7eedcb4e11d158e5bacd8f24..f05d719f583dbe9049ab010139816eec446a43ae 100644
--- a/chrome/service/service_ipc_server_unittest.cc
+++ b/chrome/service/service_ipc_server_unittest.cc
@@ -116,8 +116,8 @@ class ServiceIPCServerTest : public ::testing::Test {
ServiceIPCServerTest::ServiceIPCServerTest()
: channel_handle_(IPC::Channel::GenerateUniqueRandomChannelID()),
io_thread_("ServiceIPCServerTest IO"),
- shutdown_event_(true /* manual_reset */, false /* initially_signaled */) {
-}
+ shutdown_event_(base::WaitableEvent::ResetPolicy::MANUAL,
+ base::WaitableEvent::InitialState::NOT_SIGNALED) {}
void ServiceIPCServerTest::SetUp() {
base::Thread::Options options;

Powered by Google App Engine
This is Rietveld 408576698