Index: chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc |
diff --git a/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc |
index 6d532662ec8454ddcff2365c482a6f841827db1c..ef805eae3ce1484d1ded0caf753787f61a1a3101 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc |
@@ -267,9 +267,7 @@ void EncryptionMigrationScreenHandler::UpdateUIState(UIState state) { |
void EncryptionMigrationScreenHandler::CheckAvailableStorage() { |
base::PostTaskWithTraitsAndReplyWithResult( |
- FROM_HERE, |
- base::TaskTraits().MayBlock().WithPriority( |
- base::TaskPriority::USER_VISIBLE), |
+ FROM_HERE, {base::MayBlock(), base::TaskPriority::USER_VISIBLE}, |
base::Bind(&base::SysInfo::AmountOfFreeDiskSpace, |
base::FilePath(kCheckStoragePath)), |
base::Bind(&EncryptionMigrationScreenHandler::OnGetAvailableStorage, |