Index: base/test/trace_event_analyzer.cc |
diff --git a/base/test/trace_event_analyzer.cc b/base/test/trace_event_analyzer.cc |
index e46c2a517071025f18a5d21313bc38dc4f65b95c..93d7f305cc320547ad705804946381b493db25b2 100644 |
--- a/base/test/trace_event_analyzer.cc |
+++ b/base/test/trace_event_analyzer.cc |
@@ -10,6 +10,7 @@ |
#include "base/json/json_reader.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/strings/pattern.h" |
#include "base/values.h" |
namespace trace_analyzer { |
@@ -321,17 +322,17 @@ bool Query::CompareAsString(const TraceEvent& event, bool* result) const { |
switch (operator_) { |
case OP_EQ: |
if (right().is_pattern_) |
- *result = MatchPattern(lhs, rhs); |
+ *result = base::MatchPattern(lhs, rhs); |
else if (left().is_pattern_) |
- *result = MatchPattern(rhs, lhs); |
+ *result = base::MatchPattern(rhs, lhs); |
else |
*result = (lhs == rhs); |
return true; |
case OP_NE: |
if (right().is_pattern_) |
- *result = !MatchPattern(lhs, rhs); |
+ *result = !base::MatchPattern(lhs, rhs); |
else if (left().is_pattern_) |
- *result = !MatchPattern(rhs, lhs); |
+ *result = !base::MatchPattern(rhs, lhs); |
else |
*result = (lhs != rhs); |
return true; |