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

@@ -128,13 +128,8 @@ nsFileControlFrame::CreateAnonymousContent(nsTArray<ContentInfo>& aElements)
nsCOMPtr<nsIDocument> doc = mContent->GetComposedDoc();
nsIContent* content = GetContent();
bool isDirPicker =
#if defined(ANDROID) || defined(MOZ_B2G)
false;
#else
Preferences::GetBool("dom.input.dirpicker", false) &&
content && content->HasAttr(kNameSpaceID_None, nsGkAtoms::directory);
#endif
bool isDirPicker = Preferences::GetBool("dom.input.dirpicker", false) &&
content && content->HasAttr(kNameSpaceID_None, nsGkAtoms::directory);
nsRefPtr<HTMLInputElement> fileContent = HTMLInputElement::FromContentOrNull(mContent);