Refactor OffscreenCanvas SetSize method
In the past we were calling UpdateMemoryUsage with the old size. Make it clear that the canvas is being reset if the size is not changing. Change-Id: Iea8b9d50ce4b01b82611bc8ff665b5cf673f79db Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1829801 Commit-Queue: Aaron Krajeski <aaronhk@chromium.org> Reviewed-by:Fernando Serboncini <fserb@chromium.org> Cr-Commit-Position: refs/heads/master@{#700836}
Showing
Please register or sign in to comment