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

Unified Diff: extensions/browser/api/file_handlers/directory_util.cc

Issue 2859933002: Use constexpr TaskTraits constructor in extensions. (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
« no previous file with comments | « no previous file | extensions/browser/api/file_handlers/mime_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/file_handlers/directory_util.cc
diff --git a/extensions/browser/api/file_handlers/directory_util.cc b/extensions/browser/api/file_handlers/directory_util.cc
index 96d8faa38d2a734d6e86260f26ac0d0c00cf6175..7e6a0718dc5f849bf209a64bf564526ce7b3fd0b 100644
--- a/extensions/browser/api/file_handlers/directory_util.cc
+++ b/extensions/browser/api/file_handlers/directory_util.cc
@@ -43,7 +43,7 @@ void EntryIsDirectory(content::BrowserContext* context,
#endif
base::PostTaskWithTraitsAndReplyWithResult(
- FROM_HERE, base::TaskTraits().MayBlock(),
+ FROM_HERE, {base::MayBlock()},
base::Bind(&GetIsDirectoryFromFileInfo, path), callback);
}
« no previous file with comments | « no previous file | extensions/browser/api/file_handlers/mime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698