viz: Fix params->background_texture == 0 case
In crrev.com/c/1296679 we removed unnecessary code given the assumption that backdrop_texture could never be 0. Unfortunately we missed the case where background_rect is empty, and we still can have params->background_texture equal to 0. This patch brings back that check. Bug: 908293, 904981 Change-Id: I94a1109c839337b77589c69fa607d7dc074c0daf Reviewed-on: https://chromium-review.googlesource.com/c/1351711Reviewed-by:danakj <danakj@chromium.org> Commit-Queue: Daniele Castagna <dcastagna@chromium.org> Cr-Commit-Position: refs/heads/master@{#611417}
Showing
Please register or sign in to comment