Index: chrome/browser/after_startup_task_utils.cc |
diff --git a/chrome/browser/after_startup_task_utils.cc b/chrome/browser/after_startup_task_utils.cc |
index e024a945968ccb901ceabca657df8747f36288c3..7b8101676bf6906a2bc72022f19f9bdcbbc9643e 100644 |
--- a/chrome/browser/after_startup_task_utils.cc |
+++ b/chrome/browser/after_startup_task_utils.cc |
@@ -75,6 +75,8 @@ void ScheduleTask(std::unique_ptr<AfterStartupTask> queued_task) { |
} |
void QueueTask(std::unique_ptr<AfterStartupTask> queued_task) { |
+ DCHECK(queued_task); |
+ DCHECK(queued_task->task); |
if (!BrowserThread::CurrentlyOn(BrowserThread::UI)) { |
BrowserThread::PostTask( |
BrowserThread::UI, FROM_HERE, |