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

Unified Diff: chrome/browser/chromeos/file_manager/zip_file_creator.cc

Issue 2858073002: Use constexpr TaskTraits constructor in chrome. (Closed)
Patch Set: Created 3 years, 8 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/chromeos/file_manager/zip_file_creator.cc
diff --git a/chrome/browser/chromeos/file_manager/zip_file_creator.cc b/chrome/browser/chromeos/file_manager/zip_file_creator.cc
index 0cbfc5994c7bcd82eb5bf8c21da7e19335d6fb1a..2ee8fd291e22cb7a26eba9a0bc03d68432851a41 100644
--- a/chrome/browser/chromeos/file_manager/zip_file_creator.cc
+++ b/chrome/browser/chromeos/file_manager/zip_file_creator.cc
@@ -40,7 +40,7 @@ void ZipFileCreator::Start() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
base::PostTaskWithTraitsAndReplyWithResult(
- FROM_HERE, base::TaskTraits().MayBlock(),
+ FROM_HERE, {base::MayBlock()},
base::Bind(&OpenFileHandleAsync, dest_file_),
base::Bind(&ZipFileCreator::CreateZipFile, this));
}
« no previous file with comments | « chrome/browser/chromeos/file_manager/snapshot_manager.cc ('k') | chrome/browser/chromeos/first_run/goodies_displayer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698