summaryrefslogtreecommitdiffstats
path: root/chrome/browser/component_updater/swiftshader_component_installer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/component_updater/swiftshader_component_installer.cc')
-rw-r--r--chrome/browser/component_updater/swiftshader_component_installer.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/component_updater/swiftshader_component_installer.cc b/chrome/browser/component_updater/swiftshader_component_installer.cc
index f71fd5a..8e365da 100644
--- a/chrome/browser/component_updater/swiftshader_component_installer.cc
+++ b/chrome/browser/component_updater/swiftshader_component_installer.cc
@@ -9,7 +9,6 @@
#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"
@@ -64,8 +63,8 @@ bool GetLatestSwiftShaderDirectory(base::FilePath* result,
std::vector<base::FilePath>* older_dirs) {
base::FilePath base_dir = GetSwiftShaderBaseDirectory();
bool found = false;
- base::FileEnumerator
- file_enumerator(base_dir, false, base::FileEnumerator::DIRECTORIES);
+ file_util::FileEnumerator
+ file_enumerator(base_dir, false, file_util::FileEnumerator::DIRECTORIES);
for (base::FilePath path = file_enumerator.Next(); !path.value().empty();
path = file_enumerator.Next()) {
Version version(path.BaseName().MaybeAsASCII());