| Index: content/browser/notifications/platform_notification_context_impl.cc
|
| diff --git a/content/browser/notifications/platform_notification_context_impl.cc b/content/browser/notifications/platform_notification_context_impl.cc
|
| index b2b372fadc86a15294efc4bb012e3bd7ceef2c06..bc3d4369626374e80f39311bbb9947af72e7ed9f 100644
|
| --- a/content/browser/notifications/platform_notification_context_impl.cc
|
| +++ b/content/browser/notifications/platform_notification_context_impl.cc
|
| @@ -219,18 +219,15 @@ void PlatformNotificationContextImpl::
|
| return;
|
| }
|
|
|
| - std::set<std::string>* notification_ids_ptr = notification_ids.get();
|
| -
|
| - BrowserThread::PostTaskAndReplyWithResult(
|
| + BrowserThread::PostTask(
|
| BrowserThread::UI, FROM_HERE,
|
| - base::Bind(&PlatformNotificationService::GetDisplayedNotifications,
|
| - base::Unretained(service), browser_context_,
|
| - notification_ids_ptr),
|
| base::Bind(
|
| - &PlatformNotificationContextImpl::
|
| - SynchronizeDisplayedNotificationsForServiceWorkerRegistration,
|
| - this, origin, service_worker_registration_id, callback,
|
| - base::Passed(¬ification_ids)));
|
| + &PlatformNotificationService::GetDisplayedNotificationsAsync,
|
| + base::Unretained(service), browser_context_,
|
| + base::Bind(
|
| + &PlatformNotificationContextImpl::
|
| + SynchronizeDisplayedNotificationsForServiceWorkerRegistration,
|
| + this, origin, service_worker_registration_id, callback)));
|
| }
|
|
|
| void PlatformNotificationContextImpl::
|
|
|