commit | 165b270c25fdc0576afe280806da7eaa8f2fb743 | [log] [tgz] |
---|---|---|
author | Prashant Nevase <prashant.n@samsung.com> | Mon Apr 27 21:52:37 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Apr 27 21:52:37 2020 |
tree | 8394565be29fa82bff11cc7a18d64d1134d6f9d0 | |
parent | 310891a817227afde5ee35dc11be96e8048ce1f0 [diff] |
Small refactor in DarkModeColorFilter. DarkModeColorFilter has two subclasses viz. SkColorFilterWrapper and LabColorFilter. This patch moves the related functions inside those classes. SkColorFilterFromSettings() as SkColorFilterWrapper::Create() AdjustGray() as LabColorFilter::AdjustGray() Bug: None Change-Id: I4affa7d2d4da711ead6ba261ced9d0c9f394a72e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2167748 Commit-Queue: Philip Rogers <pdr@chromium.org> Auto-Submit: Prashant Nevase <prashant.n@samsung.com> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#763051}
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 .
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.