| Index: chrome/browser/chromeos/extensions/file_manager/file_manager_notifications.cc
|
| diff --git a/chrome/browser/chromeos/extensions/file_manager/file_manager_notifications.cc b/chrome/browser/chromeos/extensions/file_manager/file_manager_notifications.cc
|
| index 8331d82905740bf8114ef72733e26d007c33afe5..3574b02a9151d2459316027a5f19255a29c9f83b 100644
|
| --- a/chrome/browser/chromeos/extensions/file_manager/file_manager_notifications.cc
|
| +++ b/chrome/browser/chromeos/extensions/file_manager/file_manager_notifications.cc
|
| @@ -319,10 +319,13 @@ void FileManagerNotifications::ShowNotificationDelayed(
|
| base::TimeDelta delay) {
|
| std::string notification_id = GetNotificationId(type, path);
|
| hidden_notifications_.erase(notification_id);
|
| - MessageLoop::current()->PostDelayedTask(
|
| + base::MessageLoop::current()->PostDelayedTask(
|
| FROM_HERE,
|
| - base::Bind(&FileManagerNotifications::ShowNotificationById, AsWeakPtr(),
|
| - type, notification_id, GetMessage(type)),
|
| + base::Bind(&FileManagerNotifications::ShowNotificationById,
|
| + AsWeakPtr(),
|
| + type,
|
| + notification_id,
|
| + GetMessage(type)),
|
| delay);
|
| }
|
|
|
| @@ -334,10 +337,10 @@ void FileManagerNotifications::HideNotification(NotificationType type,
|
|
|
| void FileManagerNotifications::HideNotificationDelayed(
|
| NotificationType type, const std::string& path, base::TimeDelta delay) {
|
| - MessageLoop::current()->PostDelayedTask(
|
| + base::MessageLoop::current()->PostDelayedTask(
|
| FROM_HERE,
|
| - base::Bind(&FileManagerNotifications::HideNotification, AsWeakPtr(),
|
| - type, path),
|
| + base::Bind(
|
| + &FileManagerNotifications::HideNotification, AsWeakPtr(), type, path),
|
| delay);
|
| }
|
|
|
|
|