Backed out changeset 19320abf76b1 (bug 1207088) for Werror bustage CLOSED TREE

This commit is contained in:
Wes Kocher
2015-09-22 12:46:09 -07:00
parent 8da8e9b0ab
commit 0e841e6f1c
2 changed files with 2 additions and 10 deletions

View File

@@ -4850,9 +4850,6 @@ HTMLInputElement::ChooseDirectory(ErrorResult& aRv)
aRv.Throw(NS_ERROR_DOM_INVALID_STATE_ERR);
return;
}
// Script can call this method directly, so even though we don't show the
// "Pick Folder..." button on platforms that don't have a directory picker
// we have to redirect to the file picker here.
InitFilePicker(
#if defined(ANDROID) || defined(MOZ_B2G)
// No native directory picker - redirect to plain file picker