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

Unified Diff: chrome/browser/net/load_timing_browsertest.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/net/load_timing_browsertest.cc
diff --git a/chrome/browser/net/load_timing_browsertest.cc b/chrome/browser/net/load_timing_browsertest.cc
index 18af0e566aa73a797c5094f36f073d7e9d3a8da6..a892c8fc5e29b15e75373271dfc52d4896fa83ed 100644
--- a/chrome/browser/net/load_timing_browsertest.cc
+++ b/chrome/browser/net/load_timing_browsertest.cc
@@ -127,11 +127,8 @@ class MockUrlRequestJobWithTiming : public net::URLRequestFileJob {
network_delegate,
path,
base::CreateTaskRunnerWithTraits(
- base::TaskTraits()
- .MayBlock()
- .WithPriority(base::TaskPriority::BACKGROUND)
- .WithShutdownBehavior(
- base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN))),
+ {base::MayBlock(), base::TaskPriority::BACKGROUND,
+ base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN})),
load_timing_deltas_(load_timing_deltas),
weak_factory_(this) {}
« no previous file with comments | « chrome/browser/net/file_downloader.cc ('k') | chrome/browser/notifications/notification_platform_bridge_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698