Index: chrome_elf/elf_imports_unittest.cc |
diff --git a/chrome_elf/elf_imports_unittest.cc b/chrome_elf/elf_imports_unittest.cc |
index dda1bb122df5dace48a4976830e665ab88d9df89..941c6414ca0fc6c2b63e8e748459898804f0ea19 100644 |
--- a/chrome_elf/elf_imports_unittest.cc |
+++ b/chrome_elf/elf_imports_unittest.cc |
@@ -14,6 +14,7 @@ |
#include "base/files/file_path.h" |
#include "base/files/memory_mapped_file.h" |
#include "base/path_service.h" |
+#include "base/strings/pattern.h" |
#include "base/strings/string_util.h" |
#include "base/win/pe_image.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -76,7 +77,7 @@ TEST_F(ELFImportsTest, ChromeElfSanityCheck) { |
for (; it != elf_imports.end(); it++) { |
bool match = false; |
for (int i = 0; i < arraysize(kValidFilePatterns); ++i) { |
- if (MatchPattern(*it, kValidFilePatterns[i])) |
+ if (base::MatchPattern(*it, kValidFilePatterns[i])) |
match = true; |
} |
ASSERT_TRUE(match) << "Illegal import in chrome_elf.dll: " << *it; |