Index: chrome/browser/component_updater/swiftshader_component_installer.cc |
diff --git a/chrome/browser/component_updater/swiftshader_component_installer.cc b/chrome/browser/component_updater/swiftshader_component_installer.cc |
index 8e365da65b18c6a9ee62de6d0af594ef38c15839..f71fd5ae0fce2dbe85007aef51a83e29348035b9 100644 |
--- a/chrome/browser/component_updater/swiftshader_component_installer.cc |
+++ b/chrome/browser/component_updater/swiftshader_component_installer.cc |
@@ -9,6 +9,7 @@ |
#include "base/compiler_specific.h" |
#include "base/cpu.h" |
#include "base/file_util.h" |
+#include "base/files/file_enumerator.h" |
#include "base/files/file_path.h" |
#include "base/logging.h" |
#include "base/path_service.h" |
@@ -63,8 +64,8 @@ bool GetLatestSwiftShaderDirectory(base::FilePath* result, |
std::vector<base::FilePath>* older_dirs) { |
base::FilePath base_dir = GetSwiftShaderBaseDirectory(); |
bool found = false; |
- file_util::FileEnumerator |
- file_enumerator(base_dir, false, file_util::FileEnumerator::DIRECTORIES); |
+ base::FileEnumerator |
+ file_enumerator(base_dir, false, base::FileEnumerator::DIRECTORIES); |
for (base::FilePath path = file_enumerator.Next(); !path.value().empty(); |
path = file_enumerator.Next()) { |
Version version(path.BaseName().MaybeAsASCII()); |