mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in content/xslt/. r=Ms2ger
This commit is contained in:
parent
3784798145
commit
eb28a22f88
@ -9,7 +9,7 @@
|
||||
#include "nsAString.h"
|
||||
#include "nsIAtom.h"
|
||||
#include "nsUnicharUtils.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsContentUtils.h" // For ASCIIToLower().
|
||||
|
||||
typedef nsCaseInsensitiveStringComparator txCaseInsensitiveStringComparator;
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include "txStringUtils.h"
|
||||
#include "txNamespaceMap.h"
|
||||
#include "txXPathTreeWalker.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
nsresult
|
||||
txExpandedName::init(const nsAString& aQName, txNamespaceMap* aResolver,
|
||||
@ -195,6 +196,13 @@ void XMLUtils::normalizePIValue(nsAString& piValue)
|
||||
}
|
||||
}
|
||||
|
||||
//static
|
||||
bool XMLUtils::isValidQName(const nsAFlatString& aQName,
|
||||
const PRUnichar** aColon)
|
||||
{
|
||||
return NS_SUCCEEDED(nsContentUtils::CheckQName(aQName, true, aColon));
|
||||
}
|
||||
|
||||
//static
|
||||
bool XMLUtils::getXMLSpacePreserve(const txXPathNode& aNode)
|
||||
{
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "nsDependentSubstring.h"
|
||||
#include "nsIAtom.h"
|
||||
#include "txXPathNode.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
#define kExpatSeparatorChar 0xFFFF
|
||||
|
||||
@ -114,10 +113,7 @@ public:
|
||||
* Returns true if the given string is a valid XML QName
|
||||
*/
|
||||
static bool isValidQName(const nsAFlatString& aQName,
|
||||
const PRUnichar** aColon)
|
||||
{
|
||||
return NS_SUCCEEDED(nsContentUtils::CheckQName(aQName, true, aColon));
|
||||
}
|
||||
const PRUnichar** aColon);
|
||||
|
||||
/**
|
||||
* Returns true if the given character represents an Alpha letter
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "nsIDocument.h"
|
||||
#include "nsIDOMNode.h"
|
||||
#include "nsINameSpaceManager.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsContentUtils.h" // For NameSpaceManager().
|
||||
|
||||
typedef nsIDOMNode txXPathNodeType;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user