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

Unified Diff: chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc

Issue 2054613002: Manual refactor of few more stragglers to enum-based WaitableEvent constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@d_3_webkit
Patch Set: caught one more with event_\( instead of _event_\( Created 4 years, 6 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/browser/media_galleries/fileapi/itunes_file_util_unittest.cc
diff --git a/chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc b/chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc
index bb1048f722dbf0e4609a07516f394f55e70057e7..9f9323c57721757259e1f4a7eed92e696b2fbd20 100644
--- a/chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc
+++ b/chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc
@@ -166,7 +166,8 @@ class ItunesFileUtilTest : public testing::Test {
FROM_HERE,
base::Bind(&ItunesFileUtilTest::SetUpDataProvider,
base::Unretained(this)));
- base::WaitableEvent event(true, false /* initially_signalled */);
+ base::WaitableEvent event(base::WaitableEvent::ResetPolicy::MANUAL,
+ base::WaitableEvent::InitialState::NOT_SIGNALED);
MediaFileSystemBackend::MediaTaskRunner()->PostTask(
FROM_HERE,
base::Bind(&base::WaitableEvent::Signal, base::Unretained(&event)));
« no previous file with comments | « chrome/browser/chromeos/login/signin/oauth2_browsertest.cc ('k') | components/nacl/loader/nonsfi/nonsfi_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698