Index: chrome/browser/extensions/api/tabs/tabs_api.cc |
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc |
index 2b51226c9b4dc97802e75d30be79e5fcfdd595c9..eb9cfa9275b1385148a7e2d12fa16af92716c663 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc |
@@ -16,6 +16,7 @@ |
#include "base/prefs/pref_service.h" |
#include "base/single_thread_task_runner.h" |
#include "base/stl_util.h" |
+#include "base/strings/pattern.h" |
#include "base/strings/string16.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_util.h" |
@@ -951,8 +952,8 @@ bool TabsQueryFunction::RunSync() { |
continue; |
} |
- if (!title.empty() && !MatchPattern(web_contents->GetTitle(), |
- base::UTF8ToUTF16(title))) |
+ if (!title.empty() && !base::MatchPattern(web_contents->GetTitle(), |
+ base::UTF8ToUTF16(title))) |
continue; |
if (!url_patterns.is_empty() && |