Index: content/browser/accessibility/accessibility_tree_formatter.cc |
diff --git a/content/browser/accessibility/accessibility_tree_formatter.cc b/content/browser/accessibility/accessibility_tree_formatter.cc |
index 2ca2a8544fd7a8d124873954354325edb792d35a..eeb2f0afecab9a733602ce14ffe7a5b4595a68ba 100644 |
--- a/content/browser/accessibility/accessibility_tree_formatter.cc |
+++ b/content/browser/accessibility/accessibility_tree_formatter.cc |
@@ -6,6 +6,7 @@ |
#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/strings/pattern.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
@@ -153,11 +154,11 @@ bool AccessibilityTreeFormatter::MatchesFilters( |
std::vector<Filter>::const_iterator iter = filters.begin(); |
bool allow = default_result; |
for (iter = filters.begin(); iter != filters.end(); ++iter) { |
- if (MatchPattern(text, iter->match_str)) { |
+ if (base::MatchPattern(text, iter->match_str)) { |
if (iter->type == Filter::ALLOW_EMPTY) |
allow = true; |
else if (iter->type == Filter::ALLOW) |
- allow = (!MatchPattern(text, base::UTF8ToUTF16("*=''"))); |
+ allow = (!base::MatchPattern(text, base::UTF8ToUTF16("*=''"))); |
else |
allow = false; |
} |