| Index: chrome/browser/safe_browsing/notification_image_reporter.cc
|
| diff --git a/chrome/browser/safe_browsing/notification_image_reporter.cc b/chrome/browser/safe_browsing/notification_image_reporter.cc
|
| index 93cc48781a3c767325427e72ff13eb3aecdbe745..2856b4752932619c793806b6b47c7b7ebc166db2 100644
|
| --- a/chrome/browser/safe_browsing/notification_image_reporter.cc
|
| +++ b/chrome/browser/safe_browsing/notification_image_reporter.cc
|
| @@ -163,7 +163,7 @@ void NotificationImageReporter::DownscaleNotificationImageOnBlockingPool(
|
| const base::WeakPtr<NotificationImageReporter>& weak_this_on_io,
|
| const GURL& origin,
|
| const SkBitmap& image) {
|
| - DCHECK(BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread());
|
| + base::ThreadRestrictions::AssertIOAllowed();
|
|
|
| // Downscale to fit within 512x512. TODO(johnme): Get this from Finch.
|
| const double MAX_SIZE = 512;
|
|
|