deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.

This commit is contained in:
bryner@brianryner.com
2004-02-27 17:17:37 +00:00
parent 5955fb6f55
commit f485f95ee8
57 changed files with 444 additions and 764 deletions

View File

@@ -1888,15 +1888,14 @@ PrintDocTree(nsIDocShellTreeNode * aParentNode, int aLevel)
if (vm) {
vm->GetWidget(getter_AddRefs(widget));
}
nsCOMPtr<nsIEventStateManager> esm;
presContext->GetEventStateManager(getter_AddRefs(esm));
nsCOMPtr<nsIContent> rootContent;
doc->GetRootContent(getter_AddRefs(rootContent));
printf("DS %p Ty %s Doc %p DW %p EM %p CN %p\n",
parentAsDocShell.get(),
type==nsIDocShellTreeItem::typeChrome?"Chr":"Con",
doc.get(), domwin.get(), esm.get(), rootContent.get());
doc.get(), domwin.get(),
presContext->EventStateManager(), rootContent.get());
if (childWebshellCount > 0) {
for (PRInt32 i=0;i<childWebshellCount;i++) {