Move canvas and offscreenCanvas size recorders to their destructors
This prevents us from recording canvas size multiple times for the same canvas. Also confirmed that we are recording the correct numbers and move `isOffscreen` to an enum. Bug: 902000 Change-Id: Ic6e66ec960ae0166699280303a61b574c9320294 Reviewed-on: https://chromium-review.googlesource.com/c/1319180 Commit-Queue: Aaron Krajeski <aaronhk@chromium.org> Reviewed-by:Fernando Serboncini <fserb@chromium.org> Cr-Commit-Position: refs/heads/master@{#606062}
Showing
Please register or sign in to comment