Commit 7ee6660c authored by kinaba@chromium.org's avatar kinaba@chromium.org

FileDefinitionListConverter::OnResolvedURL should not fall-through.

BUG=374722

Review URL: https://codereview.chromium.org/287313004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271378 0039d316-1c4b-4281-b951-d872f2087c98
parent 7a9d42e4
......@@ -172,6 +172,7 @@ void FileDefinitionListConverter::OnResolvedURL(
iterator,
CreateEntryDefinitionWithError(
base::File::FILE_ERROR_NOT_A_DIRECTORY));
return;
}
if (!iterator->is_directory &&
type == fileapi::FileSystemContext::RESOLVED_ENTRY_DIRECTORY) {
......@@ -179,6 +180,7 @@ void FileDefinitionListConverter::OnResolvedURL(
iterator,
CreateEntryDefinitionWithError(
base::File::FILE_ERROR_NOT_A_FILE));
return;
}
EntryDefinition entry_definition;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment