Index: chrome/browser/ntp_snippets/content_suggestions_service_factory.cc |
diff --git a/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc b/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc |
index 3ef2bf58837a87be4c94e24d6458c1e79df0ae83..d5c9e87ac0a90c197d735b6145d1d9528dff2a62 100644 |
--- a/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc |
+++ b/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc |
@@ -205,11 +205,8 @@ void RegisterArticleProvider(SigninManagerBase* signin_manager, |
profile->GetPath().Append(ntp_snippets::kDatabaseFolder)); |
scoped_refptr<base::SequencedTaskRunner> task_runner = |
base::CreateSequencedTaskRunnerWithTraits( |
- base::TaskTraits() |
- .MayBlock() |
- .WithPriority(base::TaskPriority::BACKGROUND) |
- .WithShutdownBehavior( |
- base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN)); |
+ {base::MayBlock(), base::TaskPriority::BACKGROUND, |
+ base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}); |
std::string api_key; |
// The API is private. If we don't have the official API key, don't even try. |
if (google_apis::IsGoogleChromeAPIKeyUsed()) { |