viz: Initialize members of ScopedGpuMemoryBufferTexture.
The default constructor doesn't initialize the variables, and we have a DCHECK operator= which may fire if context_provider_ is not null. I think this isn't currently failing on anything due to the way this class is created by the caller, but changes in OverlayTexture in https://chromium-review.googlesource.com/c/chromium/src/+/2305189 expose this bug making the bots fail a lot of the tests. E.g. https://test-results.appspot.com/data/layout_results/mac-rel/432713/blink_web_tests%20%28with%20patch%29/layout-test-results/results.html R=weiliangc@chromium.org Change-Id: Ia96fc4e9efce2763ffde30d11af0c8482757242a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2305516Reviewed-by:weiliangc <weiliangc@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#789997}
Showing
Please register or sign in to comment