Index: chrome/tools/profiles/generate_profile.cc |
diff --git a/chrome/tools/profiles/generate_profile.cc b/chrome/tools/profiles/generate_profile.cc |
index ab7bbdf2096a1ebad8b902ce6b08e68fc2cc6d28..47a8ea1a37ddf68200f9477352f46fa7182008c5 100644 |
--- a/chrome/tools/profiles/generate_profile.cc |
+++ b/chrome/tools/profiles/generate_profile.cc |
@@ -268,10 +268,8 @@ int main(int argc, const char* argv[]) { |
message_loop.RunAllPending(); |
- file_util::FileEnumerator file_iterator( |
- profile.GetPath(), false, |
- static_cast<file_util::FileEnumerator::FileType>( |
- file_util::FileEnumerator::FILES)); |
+ file_util::FileEnumerator file_iterator(profile.GetPath(), false, |
+ file_util::FileEnumerator::FILES); |
FilePath path = file_iterator.Next(); |
while (!path.empty()) { |
FilePath dst_file = dst_dir.Append(path.BaseName()); |