[quickview] address comments in CL:2011584
The current code for updating |this.tasks_| does not account for when |this.tasks_| is an empty array. Fix this: Only update |this.tasks_| if there are tasks to update. Also remove redundant function |getAvailableTasks_|. Bug: 1038799 Change-Id: Iacf74ad6d620ce5001a7de73bfa762b0ea0f0be7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2014206 Commit-Queue: Noel Gordon <noel@chromium.org> Reviewed-by:Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#733891}
Showing
Please register or sign in to comment