commit | 2791fcf566a3675aa248442daa4533382c64472f | [log] [tgz] |
---|---|---|
author | Alan Cutter <alancutter@chromium.org> | Mon Jan 20 01:31:28 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jan 20 01:31:28 2020 |
tree | 081a66971d3ac2d1b0fecbcd1cd32ffd9bc5a8bd | |
parent | 3b7f7cf47a02089aa7034e0ac1ba69fab1fff387 [diff] |
Make CustomThemeSupplier::GetImageNamed() const This CL makes CustomThemeSupplier::GetImageNamed() const by marking BrowserThemePack's images_ cache as mutable. This is to stop relying on an implicit const cast via scoped_refptr<T>::operator->() const returning a non-const T*. This is in preparation for: https://chromium-review.googlesource.com/c/chromium/src/+/1994026 Bug: 1020050 Change-Id: Ifb604065f926bc4d922112225018e0ff31d1e8a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2006283 Commit-Queue: Alan Cutter <alancutter@chromium.org> Reviewed-by: Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#733215}
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 .