Bug 737976: Remove nsINodeInfo. r=smaug
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user