Bug 737976: Remove nsINodeInfo. rs=bent
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user