viz: DCHECK that clients don't send empty frames

The service rejects a CompostiorFrame if it has an empty render pass
list, or an empty output rect.  Add a DCHECK to ensure that clients
don't send these.

Change-Id: I2a1a25fab8b2e01f5355eaf0378c98d730490863
Reviewed-on: https://chromium-review.googlesource.com/c/1335268
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Fady Samuel <fsamuel@chromium.org>
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608087}
1 file changed