Bug 737976: Remove nsINodeInfo. r=smaug

This commit is contained in:
Kyle Huey
2014-06-19 19:01:40 -07:00
parent 2ce1611077
commit 0c88b519d9
355 changed files with 1166 additions and 1165 deletions

View File

@@ -8,7 +8,7 @@
#include "nsGkAtoms.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsINodeInfo.h"
#include "mozilla/dom/NodeInfo.h"
#include "mozilla/dom/Element.h"
#include "mozilla/dom/DataTransfer.h"
#include "mozilla/dom/HTMLButtonElement.h"
@@ -118,7 +118,7 @@ nsFileControlFrame::CreateAnonymousContent(nsTArray<ContentInfo>& aElements)
}
// Create and setup the text showing the selected files.
nsCOMPtr<nsINodeInfo> nodeInfo;
nsRefPtr<NodeInfo> nodeInfo;
nodeInfo = doc->NodeInfoManager()->GetNodeInfo(nsGkAtoms::label, nullptr,
kNameSpaceID_XUL,
nsIDOMNode::ELEMENT_NODE);