| Index: ui/gfx/color_space_win.cc
|
| diff --git a/ui/gfx/color_space_win.cc b/ui/gfx/color_space_win.cc
|
| index 9446c4eeab4cc9df8b065aa48ae0a3832ad8d1b8..e9db49fc0d5731bd4b46828a84eb8cc230172585 100644
|
| --- a/ui/gfx/color_space_win.cc
|
| +++ b/ui/gfx/color_space_win.cc
|
| @@ -59,10 +59,9 @@
|
| 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() = color_space;
|
| + g_best_monitor_color_space.Get().icc_profile_ = icc_profile;
|
| g_has_initialized_best_monitor_color_space = true;
|
| }
|
|
|
|
|