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

Unified Diff: chrome/renderer/sandbox_status_extension_android.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
« no previous file with comments | « chrome/browser/win/jumplist.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/sandbox_status_extension_android.cc
diff --git a/chrome/renderer/sandbox_status_extension_android.cc b/chrome/renderer/sandbox_status_extension_android.cc
index 6840c224f6fef7547cdead554642e580597ba5a7..fe3f8342ca09276397547a1795acff4ca8314019 100644
--- a/chrome/renderer/sandbox_status_extension_android.cc
+++ b/chrome/renderer/sandbox_status_extension_android.cc
@@ -105,7 +105,7 @@ void SandboxStatusExtension::GetSandboxStatus(gin::Arguments* args) {
base::MakeUnique<v8::Global<v8::Function>>(args->isolate(), callback);
base::PostTaskWithTraitsAndReplyWithResult(
- FROM_HERE, base::TaskTraits().MayBlock(),
+ FROM_HERE, {base::MayBlock()},
base::Bind(&SandboxStatusExtension::ReadSandboxStatus, this),
base::Bind(&SandboxStatusExtension::RunCallback, this,
base::Passed(&global_callback)));
« no previous file with comments | « chrome/browser/win/jumplist.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698