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

Unified Diff: webkit/fileapi/file_system_database_test_helper.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: fix missing comma. 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
« no previous file with comments | « net/disk_cache/cache_util_posix.cc ('k') | webkit/fileapi/file_system_directory_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_database_test_helper.cc
diff --git a/webkit/fileapi/file_system_database_test_helper.cc b/webkit/fileapi/file_system_database_test_helper.cc
index 28951d08bd35072229dfdcfb600c4997f6cfd0a9..838173a891630769ccfaaa6a77a747713188a7e9 100644
--- a/webkit/fileapi/file_system_database_test_helper.cc
+++ b/webkit/fileapi/file_system_database_test_helper.cc
@@ -19,11 +19,9 @@ void CorruptDatabase(const FilePath& db_path,
leveldb::FileType type,
ptrdiff_t offset,
size_t size) {
- file_util::FileEnumerator file_enum(
- db_path, false /* recursive */,
- static_cast<file_util::FileEnumerator::FileType>(
- file_util::FileEnumerator::DIRECTORIES |
- file_util::FileEnumerator::FILES));
+ file_util::FileEnumerator file_enum(db_path, false /* not recursive */,
+ file_util::FileEnumerator::DIRECTORIES |
+ file_util::FileEnumerator::FILES);
FilePath file_path;
FilePath picked_file_path;
uint64 picked_file_number = kuint64max;
« no previous file with comments | « net/disk_cache/cache_util_posix.cc ('k') | webkit/fileapi/file_system_directory_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698