| Index: chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc b/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc
|
| index 98da03ec6830d5b6119cb2d88ffc45c66274731e..d73852c003a8e8d2613d81f4ee78a6b4d3d6e8aa 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc
|
| @@ -212,8 +212,7 @@ void StorageManagerHandler::UpdateSizeStat() {
|
| int64_t* total_size = new int64_t(0);
|
| int64_t* available_size = new int64_t(0);
|
| base::PostTaskWithTraitsAndReply(
|
| - FROM_HERE, base::TaskTraits().MayBlock().WithPriority(
|
| - base::TaskPriority::BACKGROUND),
|
| + FROM_HERE, {base::MayBlock(), base::TaskPriority::BACKGROUND},
|
| base::Bind(&GetSizeStatAsync, downloads_path, total_size, available_size),
|
| base::Bind(&StorageManagerHandler::OnGetSizeStat,
|
| weak_ptr_factory_.GetWeakPtr(), base::Owned(total_size),
|
| @@ -250,8 +249,7 @@ void StorageManagerHandler::UpdateDownloadsSize() {
|
| file_manager::util::GetDownloadsFolderForProfile(profile);
|
|
|
| base::PostTaskWithTraitsAndReplyWithResult(
|
| - FROM_HERE, base::TaskTraits().MayBlock().WithPriority(
|
| - base::TaskPriority::BACKGROUND),
|
| + FROM_HERE, {base::MayBlock(), base::TaskPriority::BACKGROUND},
|
| base::Bind(&base::ComputeDirectorySize, downloads_path),
|
| base::Bind(&StorageManagerHandler::OnGetDownloadsSize,
|
| weak_ptr_factory_.GetWeakPtr()));
|
|
|