commit | 4c8002abdf7c865d985a45a3e8c905ff3b1af26e | [log] [tgz] |
---|---|---|
author | Miguel Casas <mcasas@chromium.org> | Wed Jan 23 16:48:41 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 23 16:48:41 2019 |
tree | 5552aa5738449c8e746d1fb633f3e42dcfc610b0 | |
parent | 05cdb4d1d9cdaa2df3d91cd9dc150eda903fe35b [diff] |
CanvasResourceProvider: extract ResourceType list logic to a function This CL makes enum CanvasResourceType an enum class, and extracts the ResourceType fallback list selection logic out of CanvasResourceProvider::Create() -- so I can add a DCHECK() to enforce similarity between vectors. Bug: 920626 Change-Id: Icac251b0c1e7676b4eb0b1c6876a953858920eff Reviewed-on: https://chromium-review.googlesource.com/c/1423348 Commit-Queue: Miguel Casas <mcasas@chromium.org> Reviewed-by: Andres Calderon Jaramillo <andrescj@chromium.org> Cr-Commit-Position: refs/heads/master@{#625229}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .