Fix static initializer in ambient_background_image_view.cc.
https://crrev.com/809702 added a global constant to ambient_background_image_view.cc, but the constant adds a static initializer. Avoid this by making the constant local to the method it is used in. Then it is initialized on first use instead. Bug: 537099 Change-Id: I1724e5a563e1a30a6aa6c8b306626ec86f6a570a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2427549Reviewed-by:Tao Wu <wutao@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#810037}
Showing
Please register or sign in to comment