Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: webkit/fileapi/obfuscated_file_util.cc

Issue 10855002: Change the type of file_type parameter to int, as the parameter actually takes or-ed bitmasks, (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« webkit/fileapi/native_file_util.cc ('K') | « webkit/fileapi/native_file_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/obfuscated_file_util.cc
diff --git a/webkit/fileapi/obfuscated_file_util.cc b/webkit/fileapi/obfuscated_file_util.cc
index b23ba78fdcfe7b58515b1cc692669caf7e1c0759..a79423d38524548689a9e7ba49c1fd1ad254ce41 100644
--- a/webkit/fileapi/obfuscated_file_util.cc
+++ b/webkit/fileapi/obfuscated_file_util.cc
@@ -996,9 +996,8 @@ bool ObfuscatedFileUtil::MigrateFromOldSandbox(
return false;
file_util::FileEnumerator file_enum(src_root, true,
- static_cast<file_util::FileEnumerator::FileType>(
- file_util::FileEnumerator::FILES |
- file_util::FileEnumerator::DIRECTORIES));
+ (file_util::FileEnumerator::FILES |
+ file_util::FileEnumerator::DIRECTORIES));
FilePath src_full_path;
size_t root_path_length = src_root.value().length() + 1; // +1 for the slash
while (!(src_full_path = file_enum.Next()).empty()) {
« webkit/fileapi/native_file_util.cc ('K') | « webkit/fileapi/native_file_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698