Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir

This commit is contained in:
Ms2ger
2012-07-02 08:22:37 +02:00
parent 34f5931dd2
commit 270eca9657
4 changed files with 2 additions and 25 deletions

View File

@@ -392,14 +392,6 @@ nsHtml5TreeOperation::Perform(nsHtml5TreeOpExecutor* aBuilder,
newContent->AppendChildTo(optionElt, false);
newContent->DoneAddingChildren(false);
}
} else if (name == nsHtml5Atoms::frameset && ns == kNameSpaceID_XHTML) {
nsIDocument* doc = aBuilder->GetDocument();
nsCOMPtr<nsIHTMLDocument> htmlDocument = do_QueryInterface(doc);
if (htmlDocument) {
// It seems harmless to call this multiple times, since this
// is a simple field setter
htmlDocument->SetIsFrameset(true);
}
}
if (!attributes) {