Index: content/shell/browser/shell_url_request_context_getter.cc |
diff --git a/content/shell/browser/shell_url_request_context_getter.cc b/content/shell/browser/shell_url_request_context_getter.cc |
index 9b96ecd594af55237550ec786544044569f7fe1d..34e4521c49d5606aa8c644f0e3d9d22f94c3a0d2 100644 |
--- a/content/shell/browser/shell_url_request_context_getter.cc |
+++ b/content/shell/browser/shell_url_request_context_getter.cc |
@@ -258,11 +258,8 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() { |
url::kFileScheme, |
base::MakeUnique<net::FileProtocolHandler>( |
base::CreateTaskRunnerWithTraits( |
- base::TaskTraits() |
- .MayBlock() |
- .WithPriority(base::TaskPriority::USER_VISIBLE) |
- .WithShutdownBehavior( |
- base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN)))); |
+ {base::MayBlock(), base::TaskPriority::USER_VISIBLE, |
+ base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN}))); |
DCHECK(set_protocol); |
#endif |