Bug 314095 - Eliminate nsIContent::GetDocument, r=jst

This commit is contained in:
Olli Pettay
2014-08-22 23:11:27 +03:00
parent c25a32c077
commit c099a1134e
43 changed files with 98 additions and 102 deletions

View File

@@ -75,7 +75,7 @@ nsFileControlFrame::DestroyFrom(nsIFrame* aDestructRoot)
nsresult
nsFileControlFrame::CreateAnonymousContent(nsTArray<ContentInfo>& aElements)
{
nsCOMPtr<nsIDocument> doc = mContent->GetDocument();
nsCOMPtr<nsIDocument> doc = mContent->GetComposedDoc();
// Create and setup the file picking button.
mBrowse = doc->CreateHTMLElement(nsGkAtoms::button);