| Index: ui/display/manager/managed_display_info.cc
|
| diff --git a/ui/display/manager/managed_display_info.cc b/ui/display/manager/managed_display_info.cc
|
| index bf3d276dfdaa8d7a790d7e1bfe70920f85f42589..4ed44db6437ccde50ad2be05bc8f9d02d71377ca 100644
|
| --- a/ui/display/manager/managed_display_info.cc
|
| +++ b/ui/display/manager/managed_display_info.cc
|
| @@ -6,11 +6,11 @@
|
|
|
| #include <stdio.h>
|
|
|
| -#include <algorithm>
|
| #include <string>
|
| #include <vector>
|
|
|
| #include "base/logging.h"
|
| +#include "base/stl_util.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_split.h"
|
| #include "base/strings/string_util.h"
|
| @@ -507,9 +507,7 @@ void ManagedDisplayInfo::SetColorProfile(ColorCalibrationProfile profile) {
|
|
|
| bool ManagedDisplayInfo::IsColorProfileAvailable(
|
| ColorCalibrationProfile profile) const {
|
| - return std::find(available_color_profiles_.begin(),
|
| - available_color_profiles_.end(),
|
| - profile) != available_color_profiles_.end();
|
| + return base::ContainsValue(available_color_profiles_, profile);
|
| }
|
|
|
| bool ManagedDisplayInfo::Use125DSFForUIScaling() const {
|
|
|