Index: chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc |
diff --git a/chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc b/chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc |
index 1d5acd8500c735fc19ec5092c31eec4db9388679..b723c3b10ea0a392c1ee80b43bf7ac17c48740e1 100644 |
--- a/chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc |
+++ b/chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc |
@@ -4,10 +4,10 @@ |
#include "chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.h" |
+#include "base/stl_util.h" |
#include "base/strings/utf_string_conversions.h" |
#include "chrome/common/channel_info.h" |
#include "ui/accessibility/ax_node_data.h" |
-#include "ui/accessibility/ax_node_data.h" |
#include "ui/aura/window.h" |
#include "ui/views/accessibility/ax_aura_obj_cache.h" |
#include "ui/views/accessibility/ax_window_obj_wrapper.h" |
@@ -37,7 +37,7 @@ views::AXAuraObjWrapper* AXRootObjWrapper::GetAlertForText( |
bool AXRootObjWrapper::HasChild(views::AXAuraObjWrapper* child) { |
std::vector<views::AXAuraObjWrapper*> children; |
GetChildren(&children); |
- return std::find(children.begin(), children.end(), child) != children.end(); |
+ return base::ContainsValue(children, child); |
} |
views::AXAuraObjWrapper* AXRootObjWrapper::GetParent() { |