Fix an invalid DCHECK in SharedImageVideo.
A DCHECK became invalid after a recent refactoring. Move the DCHECK to more appropriate place. BeginReadAccess() could be called multiple times on a single shared image in which case this DCHECK is valid only for the first call. once |promise_texture_| is created and cached, this DCHECK becomes invalid. Change-Id: Ia77759ca7797675adbcf41a78c1086e3aebba2a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1822318Reviewed-by:Eric Karl <ericrk@chromium.org> Commit-Queue: vikas soni <vikassoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#699903}
Showing
Please register or sign in to comment