Index: base/files/file_enumerator_win.cc |
diff --git a/base/files/file_enumerator_win.cc b/base/files/file_enumerator_win.cc |
index 931d15498164267f0f6e68913ae88a5ad1e5f1c3..ae41a4600d31568ec66cc2d0d4705b86a48be171 100644 |
--- a/base/files/file_enumerator_win.cc |
+++ b/base/files/file_enumerator_win.cc |
@@ -43,10 +43,10 @@ base::Time FileEnumerator::FileInfo::GetLastModifiedTime() const { |
FileEnumerator::FileEnumerator(const FilePath& root_path, |
bool recursive, |
int file_type) |
- : recursive_(recursive), |
- file_type_(file_type), |
- has_find_data_(false), |
- find_handle_(INVALID_HANDLE_VALUE) { |
+ : has_find_data_(false), |
+ find_handle_(INVALID_HANDLE_VALUE), |
+ recursive_(recursive), |
+ file_type_(file_type) { |
// INCLUDE_DOT_DOT must not be specified if recursive. |
DCHECK(!(recursive && (INCLUDE_DOT_DOT & file_type_))); |
memset(&find_data_, 0, sizeof(find_data_)); |
@@ -57,11 +57,11 @@ FileEnumerator::FileEnumerator(const FilePath& root_path, |
bool recursive, |
int file_type, |
const FilePath::StringType& pattern) |
- : recursive_(recursive), |
+ : has_find_data_(false), |
+ find_handle_(INVALID_HANDLE_VALUE), |
+ recursive_(recursive), |
file_type_(file_type), |
- has_find_data_(false), |
- pattern_(pattern), |
- find_handle_(INVALID_HANDLE_VALUE) { |
+ pattern_(pattern) { |
// INCLUDE_DOT_DOT must not be specified if recursive. |
DCHECK(!(recursive && (INCLUDE_DOT_DOT & file_type_))); |
memset(&find_data_, 0, sizeof(find_data_)); |