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

Unified Diff: chrome/browser/chrome_browser_main.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/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 3dda3d468c43335bf7fa075dd0ac5196ab67d93a..95d01520957668a957b46b1e97aca96b735ae44c 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1705,7 +1705,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
// notification to the user.
if (NetworkProfileBubble::ShouldCheckNetworkProfile(profile_)) {
base::PostTaskWithTraits(
- FROM_HERE, base::TaskTraits().MayBlock(),
+ FROM_HERE, {base::MayBlock()},
base::Bind(&NetworkProfileBubble::CheckNetworkProfile,
profile_->GetPath()));
}
« no previous file with comments | « chrome/browser/captive_portal/captive_portal_browsertest.cc ('k') | chrome/browser/chrome_browser_main_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698