Bug 737976: Remove nsINodeInfo. rs=bent

This commit is contained in:
Kyle Huey
2012-03-28 19:07:37 -07:00
parent dd5ac38b43
commit e90f642ac4
265 changed files with 1233 additions and 1348 deletions

View File

@@ -221,7 +221,7 @@ nsIFrame*
NS_NewSVGFEUnstyledLeafFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
#include "nsIScrollable.h"
#include "nsINodeInfo.h"
#include "nsNodeInfo.h"
#include "prenv.h"
#include "nsWidgetsCID.h"
#include "nsNodeInfoManager.h"
@@ -1548,7 +1548,7 @@ nsCSSFrameConstructor::CreateGeneratedContent(nsFrameConstructorState& aState,
// Create an image content object and pass it the image request.
// XXX Check if it's an image type we can handle...
nsCOMPtr<nsINodeInfo> nodeInfo;
nsRefPtr<nsNodeInfo> nodeInfo;
nodeInfo = mDocument->NodeInfoManager()->
GetNodeInfo(nsGkAtoms::mozgeneratedcontentimage, nsnull,
kNameSpaceID_XHTML, nsIDOMNode::ELEMENT_NODE);
@@ -1719,7 +1719,7 @@ nsCSSFrameConstructor::CreateGeneratedContentItem(nsFrameConstructorState& aStat
return;
// |ProbePseudoStyleFor| checked the 'display' property and the
// |ContentCount()| of the 'content' property for us.
nsCOMPtr<nsINodeInfo> nodeInfo;
nsRefPtr<nsNodeInfo> nodeInfo;
nsIAtom* elemName = aPseudoElement == nsCSSPseudoElements::ePseudo_before ?
nsGkAtoms::mozgeneratedcontentbefore : nsGkAtoms::mozgeneratedcontentafter;
nodeInfo = mDocument->NodeInfoManager()->GetNodeInfo(elemName, nsnull,