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

Unified Diff: chrome/browser/chromeos/drive/download_handler.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/drive/download_handler.cc
diff --git a/chrome/browser/chromeos/drive/download_handler.cc b/chrome/browser/chromeos/drive/download_handler.cc
index 81b3f20871680c8360b699a32eb1de0faf887f5d..468f503e9ad77f6fe78f48c8c83fdb5313f5232b 100644
--- a/chrome/browser/chromeos/drive/download_handler.cc
+++ b/chrome/browser/chromeos/drive/download_handler.cc
@@ -382,7 +382,7 @@ void DownloadHandler::OnCreateDirectory(
DVLOG(1) << "OnCreateDirectory " << FileErrorToString(error);
if (error == FILE_ERROR_OK) {
base::PostTaskWithTraitsAndReplyWithResult(
- FROM_HERE, base::TaskTraits().MayBlock(),
+ FROM_HERE, {base::MayBlock()},
base::Bind(&GetDriveTempDownloadPath, drive_tmp_download_path_),
callback);
} else {

Powered by Google App Engine
This is Rietveld 408576698