| Index: ui/gfx/color_space_win.cc
|
| diff --git a/ui/gfx/color_space_win.cc b/ui/gfx/color_space_win.cc
|
| index e9db49fc0d5731bd4b46828a84eb8cc230172585..9446c4eeab4cc9df8b065aa48ae0a3832ad8d1b8 100644
|
| --- a/ui/gfx/color_space_win.cc
|
| +++ b/ui/gfx/color_space_win.cc
|
| @@ -59,9 +59,10 @@ bool ColorSpace::CachedProfilesNeedUpdate() {
|
| void ColorSpace::UpdateCachedProfilesOnBackgroundThread() {
|
| std::vector<char> icc_profile;
|
| ReadBestMonitorICCProfile(&icc_profile);
|
| + gfx::ColorSpace color_space = FromICCProfile(icc_profile);
|
|
|
| base::AutoLock lock(g_best_monitor_color_space_lock.Get());
|
| - g_best_monitor_color_space.Get().icc_profile_ = icc_profile;
|
| + g_best_monitor_color_space.Get() = color_space;
|
| g_has_initialized_best_monitor_color_space = true;
|
| }
|
|
|
|
|