summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorharuki@chromium.org <haruki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-12 01:57:23 +0000
committerharuki@chromium.org <haruki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-12 01:57:23 +0000
commit84c3f1642184211bcf188e8f9ed763603af57511 (patch)
tree7063b340791fe3725a6b2b68047605bde1770479 /content
parentadb3145c1640318d837ce43cb6388500218d452e (diff)
downloadchromium_src-84c3f1642184211bcf188e8f9ed763603af57511.zip
chromium_src-84c3f1642184211bcf188e8f9ed763603af57511.tar.gz
chromium_src-84c3f1642184211bcf188e8f9ed763603af57511.tar.bz2
Change the type of file_type parameter to int, as the parameter actually takes or-ed bitmasks,
to remove static_cast<> in the callers. BUG=139130 TEST=try bots Review URL: https://chromiumcodereview.appspot.com/10855002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151192 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/pepper/pepper_file_message_filter.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/content/browser/renderer_host/pepper/pepper_file_message_filter.cc b/content/browser/renderer_host/pepper/pepper_file_message_filter.cc
index 9212e6f..5de7fbf 100644
--- a/content/browser/renderer_host/pepper/pepper_file_message_filter.cc
+++ b/content/browser/renderer_host/pepper/pepper_file_message_filter.cc
@@ -217,12 +217,10 @@ void PepperFileMessageFilter::OnGetDirContents(
contents->clear();
- file_util::FileEnumerator enumerator(
- full_path, false,
- static_cast<file_util::FileEnumerator::FileType>(
- file_util::FileEnumerator::FILES |
- file_util::FileEnumerator::DIRECTORIES |
- file_util::FileEnumerator::INCLUDE_DOT_DOT));
+ file_util::FileEnumerator enumerator(full_path, false,
+ file_util::FileEnumerator::FILES |
+ file_util::FileEnumerator::DIRECTORIES |
+ file_util::FileEnumerator::INCLUDE_DOT_DOT);
while (!enumerator.Next().empty()) {
file_util::FileEnumerator::FindInfo info;