commit | 4c9311a8c9a06dbf1f409d780e3462b48006e815 | [log] [tgz] |
---|---|---|
author | Justin Novosad <junov@chromium.org> | Wed Jun 16 18:12:31 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 16 18:12:31 2021 |
tree | 2cd54ad7743aa3a50520e2858ca83f1488bf9312 | |
parent | 19c2bebe7d521d945f0430d18df076cab1a3962e [diff] |
[Canvas] Simplify DidDraw methods (Reland) This is a code cleanup related to DidDraw methods throughout canvas-related code in blink. This CL removes unnecessary overloads, unnecessary virtuals, unnecessary argument passing. In WebGL rendering contexts, we remove an unnecessary recursion cycle. In 2D contexts, we remove an unnecessary and confusing virtual method multiple inherritance name conflict (method renamed to DidDraw2D in BaseRenderingContext2D) Difference from original CL that was reverted: removed changes to dirty_rect calulations in html_canvas_element.cc Original CL: https://chromium-review.googlesource.com/c/chromium/src/+/2947051/ Bug: 1217714 Change-Id: I98a2b87418389adfe368a2a7cb2c1175e3cc221e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2965277 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Xida Chen <xidachen@chromium.org> Reviewed-by: Fernando Serboncini <fserb@chromium.org> Commit-Queue: Justin Novosad <junov@chromium.org> Cr-Commit-Position: refs/heads/master@{#893061}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.