Index: ui/base/x/x11_util.cc |
diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc |
index bf3231c2e8d3375dfabc6ab52550deb7436acfa8..c12c95f7e64d845121b6f389c28d13fec9efe9bc 100644 |
--- a/ui/base/x/x11_util.cc |
+++ b/ui/base/x/x11_util.cc |
@@ -1203,10 +1203,7 @@ bool IsX11WindowFullScreen(XID window) { |
if (GetAtomArrayProperty(window, |
"_NET_WM_STATE", |
&atom_properties)) { |
- return std::find(atom_properties.begin(), |
- atom_properties.end(), |
- fullscreen_atom) != |
- atom_properties.end(); |
+ return base::ContainsValue(atom_properties, fullscreen_atom); |
} |
} |
@@ -1237,8 +1234,7 @@ bool WmSupportsHint(XAtom atom) { |
return false; |
} |
- return std::find(supported_atoms.begin(), supported_atoms.end(), atom) != |
- supported_atoms.end(); |
+ return base::ContainsValue(supported_atoms, atom); |
} |
XRefcountedMemory::XRefcountedMemory(unsigned char* x11_data, size_t length) |