зеркало из https://github.com/mozilla/gecko-dev.git
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
This commit is contained in:
Родитель
ca893beb9a
Коммит
942988df26
|
@ -37,7 +37,6 @@
|
|||
#ifndef nsContentUtils_h___
|
||||
#define nsContentUtils_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "jspubtd.h"
|
||||
#include "nsAReadableString.h"
|
||||
#include "nsIDOMScriptObjectFactory.h"
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
#define nsIContent_h___
|
||||
|
||||
#include <stdio.h>
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nsEvent.h"
|
||||
#include "nsAWritableString.h"
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsIDocument_h___
|
||||
#define nsIDocument_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nsEvent.h"
|
||||
#include "nsAWritableString.h"
|
||||
|
@ -372,19 +371,19 @@ public:
|
|||
|
||||
|
||||
// XXX These belong somewhere else
|
||||
extern NS_LAYOUT nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewHTMLDocument(nsIDocument** aInstancePtrResult);
|
||||
|
||||
extern NS_LAYOUT nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewXMLDocument(nsIDocument** aInstancePtrResult);
|
||||
|
||||
extern NS_LAYOUT nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewImageDocument(nsIDocument** aInstancePtrResult);
|
||||
|
||||
extern NS_LAYOUT nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewDocumentFragment(nsIDOMDocumentFragment** aInstancePtrResult,
|
||||
nsIDocument* aOwnerDocument);
|
||||
extern NS_LAYOUT nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewDOMDocument(nsIDOMDocument** aInstancePtrResult,
|
||||
const nsAReadableString& aNamespaceURI,
|
||||
const nsAReadableString& aQualifiedName,
|
||||
|
@ -395,7 +394,7 @@ extern NS_LAYOUT nsresult
|
|||
// instance and is freed when the instance is destroyed...
|
||||
//
|
||||
#if 0
|
||||
extern NS_LAYOUT nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewPostData(PRBool aIsFile, char *aData, nsIPostData** aInstancePtrResult);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#define nsINameSpace_h___
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nslayout.h"
|
||||
|
||||
class nsIAtom;
|
||||
class nsString;
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
NS_IMETHOD Init(nsIURI* aBaseURI) = 0;
|
||||
};
|
||||
|
||||
NS_LAYOUT nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewDOMImplementation(nsIDOMDOMImplementation** aInstancePtrResult);
|
||||
|
||||
#endif // nsIPrivateDOMImplementation_h__
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
|
||||
class nsISizeOfHandler;
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
|
||||
class nsISizeOfHandler;
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsITextContent_h___
|
||||
#define nsITextContent_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsIContent.h"
|
||||
class nsString;
|
||||
class nsTextFragment;
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "nscore.h"
|
||||
#include "nslayout.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsString.h"
|
||||
|
|
|
@ -1202,7 +1202,7 @@ nsStyleContext::Destroy()
|
|||
presContext->FreeToShell(sizeof(nsStyleContext), this);
|
||||
}
|
||||
|
||||
NS_LAYOUT nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewStyleContext(nsIStyleContext** aInstancePtrResult,
|
||||
nsIStyleContext* aParentContext,
|
||||
nsIAtom* aPseudoTag,
|
||||
|
|
|
@ -1379,7 +1379,7 @@ void StyleSetImpl::ListContexts(nsIStyleContext* aRootContext, FILE* out, PRInt3
|
|||
#endif
|
||||
|
||||
|
||||
NS_LAYOUT nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewStyleSet(nsIStyleSet** aInstancePtrResult)
|
||||
{
|
||||
if (aInstancePtrResult == nsnull) {
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsTextFragment_h___
|
||||
#define nsTextFragment_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsAWritableString.h"
|
||||
class nsString;
|
||||
|
||||
|
@ -71,11 +70,12 @@ class nsString;
|
|||
* This class does not have a virtual destructor therefore it is not
|
||||
* meant to be subclassed.
|
||||
*/
|
||||
class NS_LAYOUT nsTextFragment {
|
||||
class nsTextFragment {
|
||||
public:
|
||||
/**
|
||||
* Default constructor. Initialize the fragment to be empty.
|
||||
*/
|
||||
inline
|
||||
nsTextFragment() {
|
||||
m1b = nsnull;
|
||||
mAllBits = 0;
|
||||
|
@ -134,6 +134,7 @@ public:
|
|||
/**
|
||||
* Return PR_TRUE if this fragment is represented by PRUnichar data
|
||||
*/
|
||||
inline
|
||||
PRBool Is2b() const {
|
||||
return mState.mIs2b;
|
||||
}
|
||||
|
@ -141,6 +142,7 @@ public:
|
|||
/**
|
||||
* Get a pointer to constant PRUnichar data.
|
||||
*/
|
||||
inline
|
||||
const PRUnichar* Get2b() const {
|
||||
NS_ASSERTION(Is2b(), "not 2b text");
|
||||
return m2b;
|
||||
|
@ -149,6 +151,7 @@ public:
|
|||
/**
|
||||
* Get a pointer to constant char data.
|
||||
*/
|
||||
inline
|
||||
const char* Get1b() const {
|
||||
NS_ASSERTION(!Is2b(), "not 1b text");
|
||||
return (const char*) m1b;
|
||||
|
@ -158,6 +161,7 @@ public:
|
|||
* Get the length of the fragment. The length is the number of logical
|
||||
* characters, not the number of bytes to store the characters.
|
||||
*/
|
||||
inline
|
||||
PRInt32 GetLength() const {
|
||||
return PRInt32(mState.mLength);
|
||||
}
|
||||
|
@ -166,6 +170,7 @@ public:
|
|||
* Mutable version of Get2b. Only works for a non-const object.
|
||||
* Returns a pointer to the PRUnichar data.
|
||||
*/
|
||||
inline
|
||||
PRUnichar* Get2b() {
|
||||
NS_ASSERTION(Is2b(), "not 2b text");
|
||||
return m2b;
|
||||
|
@ -175,6 +180,7 @@ public:
|
|||
* Mutable version of Get1b. Only works for a non-const object.
|
||||
* Returns a pointer to the char data.
|
||||
*/
|
||||
inline
|
||||
char* Get1b() {
|
||||
NS_ASSERTION(!Is2b(), "not 1b text");
|
||||
return (char*) m1b;
|
||||
|
@ -231,6 +237,7 @@ public:
|
|||
* Return the character in the text-fragment at the given
|
||||
* index. This always returns a PRUnichar.
|
||||
*/
|
||||
inline
|
||||
PRUnichar CharAt(PRInt32 aIndex) const {
|
||||
NS_ASSERTION(PRUint32(aIndex) < mState.mLength, "bad index");
|
||||
return mState.mIs2b ? m2b[aIndex] : PRUnichar(m1b[aIndex]);
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
#include "nslayout.h"
|
||||
#include "nsGenericDOMHTMLCollection.h"
|
||||
#include "nsIDOMClassInfo.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
|
|
@ -201,7 +201,7 @@ MyPrefChangedCallback(const char*aPrefName, void* instance_data)
|
|||
// ==================================================================
|
||||
// =
|
||||
// ==================================================================
|
||||
NS_LAYOUT nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewHTMLDocument(nsIDocument** aInstancePtrResult)
|
||||
{
|
||||
nsHTMLDocument* doc = new nsHTMLDocument();
|
||||
|
|
|
@ -219,7 +219,7 @@ ImageListener::OnDataAvailable(nsIRequest* request, nsISupports *ctxt,
|
|||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
NS_LAYOUT nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewImageDocument(nsIDocument** aInstancePtrResult)
|
||||
{
|
||||
nsImageDocument* doc = new nsImageDocument();
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSLoader_h___
|
||||
#define nsICSSLoader_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nsAReadableString.h"
|
||||
#include "nsICSSImportRule.h"
|
||||
|
@ -139,10 +138,10 @@ public:
|
|||
NS_IMETHOD StopLoadingSheet(nsIURI* aURL) = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSLoader(nsIDocument* aDocument, nsICSSLoader** aLoader);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSLoader(nsICSSLoader** aLoader);
|
||||
|
||||
#endif /* nsICSSLoader_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsCSS1Parser_h___
|
||||
#define nsCSS1Parser_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nsAWritableString.h"
|
||||
class nsIStyleRule;
|
||||
|
@ -128,7 +127,7 @@ public:
|
|||
#define NS_CSS_PARSER_DROP_DECLARATION \
|
||||
NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_LAYOUT,1)
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSParser(nsICSSParser** aInstancePtrResult);
|
||||
|
||||
#endif /* nsCSS1Parser_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSStyleSheet_h___
|
||||
#define nsICSSStyleSheet_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsIStyleSheet.h"
|
||||
#include "nsString.h"
|
||||
|
||||
|
@ -94,10 +93,10 @@ public:
|
|||
};
|
||||
|
||||
// XXX for backwards compatibility and convenience
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSStyleSheet(nsICSSStyleSheet** aInstancePtrResult, nsIURI* aURL);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSStyleSheet(nsICSSStyleSheet** aInstancePtrResult);
|
||||
|
||||
#endif /* nsICSSStyleSheet_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsIComputedDOMStyle_h___
|
||||
#define nsIComputedDOMStyle_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsIDOMCSSStyleDeclaration.h"
|
||||
|
||||
class nsIDOMElement;
|
||||
|
@ -57,7 +56,7 @@ public:
|
|||
nsIPresShell *aPresShell) = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewComputedDOMStyle(nsIComputedDOMStyle** aComputedStyle);
|
||||
|
||||
#endif /* nsIComputedDOMStyle_h___ */
|
||||
|
|
|
@ -44,12 +44,12 @@ public:
|
|||
NS_IMETHOD MatchesMedium(nsIAtom* aMedium, PRBool* aMatch); \
|
||||
NS_IMETHOD DropReference(void);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewMediaList(const nsAReadableString& aMediaText, nsIMediaList** aInstancePtrResult);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewMediaList(nsIMediaList** aInstancePtrResult);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewMediaList(nsISupportsArray* aArray, nsICSSStyleSheet* aSheet, nsIMediaList** aInstancePtrResult);
|
||||
#endif /* nsICSSLoader_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsStyleUtil_h___
|
||||
#define nsStyleUtil_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsCoord.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsILinkHandler.h" // for nsLinkState
|
||||
|
|
|
@ -4872,7 +4872,7 @@ CSSDeclarationImpl::Clone(nsICSSDeclaration*& aClone) const
|
|||
}
|
||||
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewCSSDeclaration(nsICSSDeclaration** aInstancePtrResult)
|
||||
{
|
||||
if (aInstancePtrResult == nsnull) {
|
||||
|
|
|
@ -364,7 +364,7 @@ PR_STATIC_CALLBACK(void) AppendRuleToSheet(nsICSSRule* aRule, void* aParser)
|
|||
parser->AppendRule(aRule);
|
||||
}
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewCSSParser(nsICSSParser** aInstancePtrResult)
|
||||
{
|
||||
CSSParserImpl *it = new CSSParserImpl();
|
||||
|
|
|
@ -322,7 +322,7 @@ CSSCharsetRuleImpl::GetEncoding(nsString& aEncoding) const
|
|||
}
|
||||
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewCSSCharsetRule(nsICSSCharsetRule** aInstancePtrResult, const nsString& aEncoding)
|
||||
{
|
||||
if (! aInstancePtrResult) {
|
||||
|
@ -608,7 +608,7 @@ CSSImportRuleImpl::SetSheet(nsICSSStyleSheet* aSheet)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewCSSImportRule(nsICSSImportRule** aInstancePtrResult,
|
||||
const nsString& aURLSpec,
|
||||
const nsString& aMedia)
|
||||
|
|
|
@ -4872,7 +4872,7 @@ CSSDeclarationImpl::Clone(nsICSSDeclaration*& aClone) const
|
|||
}
|
||||
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewCSSDeclaration(nsICSSDeclaration** aInstancePtrResult)
|
||||
{
|
||||
if (aInstancePtrResult == nsnull) {
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsCSSValue_h___
|
||||
#define nsCSSValue_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsColor.h"
|
||||
#include "nsString.h"
|
||||
#include "nsCoord.h"
|
||||
|
|
|
@ -1575,7 +1575,7 @@ void HTMLAttributesImpl::SizeOf(nsISizeOfHandler* aSizer, PRUint32 &aResult)
|
|||
}
|
||||
#endif
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewHTMLAttributes(nsIHTMLAttributes** aInstancePtrResult)
|
||||
{
|
||||
if (aInstancePtrResult == nsnull) {
|
||||
|
|
|
@ -661,7 +661,7 @@ HTMLCSSStyleSheetImpl::AttributeAffectsStyle(nsIAtom *aAttribute,
|
|||
}
|
||||
|
||||
// XXX For backwards compatibility and convenience
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewHTMLCSSStyleSheet(nsIHTMLCSSStyleSheet** aInstancePtrResult, nsIURI* aURL,
|
||||
nsIDocument* aDocument)
|
||||
{
|
||||
|
@ -679,7 +679,7 @@ NS_HTML nsresult
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewHTMLCSSStyleSheet(nsIHTMLCSSStyleSheet** aInstancePtrResult)
|
||||
{
|
||||
if (aInstancePtrResult == nsnull) {
|
||||
|
|
|
@ -1421,7 +1421,7 @@ HTMLStyleSheetImpl::AttributeAffectsStyle(nsIAtom *aAttribute,
|
|||
}
|
||||
|
||||
// XXX For convenience and backwards compatibility
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewHTMLStyleSheet(nsIHTMLStyleSheet** aInstancePtrResult, nsIURI* aURL,
|
||||
nsIDocument* aDocument)
|
||||
{
|
||||
|
@ -1440,7 +1440,7 @@ NS_NewHTMLStyleSheet(nsIHTMLStyleSheet** aInstancePtrResult, nsIURI* aURL,
|
|||
}
|
||||
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewHTMLStyleSheet(nsIHTMLStyleSheet** aInstancePtrResult)
|
||||
{
|
||||
NS_PRECONDITION(aInstancePtrResult, "null out param");
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSCharsetRule_h___
|
||||
#define nsICSSCharsetRule_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsICSSRule.h"
|
||||
|
||||
class nsString;
|
||||
|
@ -54,7 +53,7 @@ public:
|
|||
NS_IMETHOD GetEncoding(nsString& aEncoding) const = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSCharsetRule(nsICSSCharsetRule** aInstancePtrResult, const nsString& aEncoding);
|
||||
|
||||
#endif /* nsICSSCharsetRule_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSDeclaration_h___
|
||||
#define nsICSSDeclaration_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nsColor.h"
|
||||
#include <stdio.h>
|
||||
|
@ -472,7 +471,7 @@ public:
|
|||
#endif
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSDeclaration(nsICSSDeclaration** aInstancePtrResult);
|
||||
|
||||
#endif /* nsICSSDeclaration_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSGroupRule_h___
|
||||
#define nsICSSGroupRule_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsICSSRule.h"
|
||||
#include "nsISupportsArray.h"
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSImportRule_h___
|
||||
#define nsICSSImportRule_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsICSSRule.h"
|
||||
#include "nsString.h"
|
||||
|
||||
|
@ -62,7 +61,7 @@ public:
|
|||
NS_IMETHOD SetSheet(nsICSSStyleSheet*) = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSImportRule(nsICSSImportRule** aInstancePtrResult,
|
||||
const nsString& aURLSpec,
|
||||
const nsString& aMedia);
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSMediaRule_h___
|
||||
#define nsICSSMediaRule_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsICSSGroupRule.h"
|
||||
//#include "nsString.h"
|
||||
|
||||
|
@ -56,7 +55,7 @@ public:
|
|||
NS_IMETHOD_(PRBool) UseForMedium(nsIAtom* aMedium) const = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSMediaRule(nsICSSMediaRule** aInstancePtrResult);
|
||||
|
||||
#endif /* nsICSSMediaRule_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSNameSpaceRule_h___
|
||||
#define nsICSSNameSpaceRule_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsICSSRule.h"
|
||||
//#include "nsString.h"
|
||||
|
||||
|
@ -60,7 +59,7 @@ public:
|
|||
NS_IMETHOD SetURLSpec(const nsString& aURLSpec) = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSNameSpaceRule(nsICSSNameSpaceRule** aInstancePtrResult,
|
||||
nsIAtom* aPrefix, const nsString& aURLSpec);
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSRule_h___
|
||||
#define nsICSSRule_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsIStyleRule.h"
|
||||
|
||||
class nsICSSStyleSheet;
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#define nsICSSStyleRule_h___
|
||||
|
||||
//#include <stdio.h>
|
||||
#include "nslayout.h"
|
||||
#include "nsICSSRule.h"
|
||||
#include "nsString.h"
|
||||
|
||||
|
@ -170,7 +169,7 @@ public:
|
|||
virtual nsIStyleRule* GetImportantRule(void) = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSStyleRule(nsICSSStyleRule** aInstancePtrResult, const nsCSSSelector& aSelector);
|
||||
|
||||
#endif /* nsICSSStyleRule_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSStyleRuleProcessor_h___
|
||||
#define nsICSSStyleRuleProcessor_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsIStyleRuleProcessor.h"
|
||||
|
||||
class nsICSSStyleSheet;
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsIHTMLAttributes_h___
|
||||
#define nsIHTMLAttributes_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nsHTMLValue.h"
|
||||
#include "nsIHTMLContent.h"
|
||||
|
@ -136,7 +135,7 @@ public:
|
|||
#endif
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewHTMLAttributes(nsIHTMLAttributes** aInstancePtrResult);
|
||||
|
||||
#endif /* nsIHTMLAttributes_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsIHTMLCSSStyleSheet_h___
|
||||
#define nsIHTMLCSSStyleSheet_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsIStyleSheet.h"
|
||||
|
||||
// IID for the nsIHTMLCSSStyleSheet interface {b5cc4ac0-eab6-11d1-8031-006008159b5a}
|
||||
|
@ -54,11 +53,11 @@ public:
|
|||
};
|
||||
|
||||
// XXX for convenience and backward compatibility
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewHTMLCSSStyleSheet(nsIHTMLCSSStyleSheet** aInstancePtrResult, nsIURI* aURL,
|
||||
nsIDocument* aDocument);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewHTMLCSSStyleSheet(nsIHTMLCSSStyleSheet** aInstancePtrResult);
|
||||
|
||||
#endif /* nsIHTMLCSSStyleSheet_h___ */
|
||||
|
|
|
@ -38,8 +38,6 @@
|
|||
#ifndef nsCSSKeywords_h___
|
||||
#define nsCSSKeywords_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
|
||||
class nsString;
|
||||
class nsCString;
|
||||
|
||||
|
@ -59,7 +57,7 @@ enum nsCSSKeyword {
|
|||
#undef CSS_KEY
|
||||
|
||||
|
||||
class NS_LAYOUT nsCSSKeywords {
|
||||
class nsCSSKeywords {
|
||||
public:
|
||||
static void AddRefTable(void);
|
||||
static void ReleaseTable(void);
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsCSSProps_h___
|
||||
#define nsCSSProps_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsString.h"
|
||||
|
||||
/*
|
||||
|
@ -57,7 +56,7 @@ enum nsCSSProperty {
|
|||
#undef CSS_PROP
|
||||
|
||||
|
||||
class NS_LAYOUT nsCSSProps {
|
||||
class nsCSSProps {
|
||||
public:
|
||||
static void AddRefTable(void);
|
||||
static void ReleaseTable(void);
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsStyleUtil_h___
|
||||
#define nsStyleUtil_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsCoord.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsILinkHandler.h" // for nsLinkState
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsTextFragment_h___
|
||||
#define nsTextFragment_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsAWritableString.h"
|
||||
class nsString;
|
||||
|
||||
|
@ -71,11 +70,12 @@ class nsString;
|
|||
* This class does not have a virtual destructor therefore it is not
|
||||
* meant to be subclassed.
|
||||
*/
|
||||
class NS_LAYOUT nsTextFragment {
|
||||
class nsTextFragment {
|
||||
public:
|
||||
/**
|
||||
* Default constructor. Initialize the fragment to be empty.
|
||||
*/
|
||||
inline
|
||||
nsTextFragment() {
|
||||
m1b = nsnull;
|
||||
mAllBits = 0;
|
||||
|
@ -134,6 +134,7 @@ public:
|
|||
/**
|
||||
* Return PR_TRUE if this fragment is represented by PRUnichar data
|
||||
*/
|
||||
inline
|
||||
PRBool Is2b() const {
|
||||
return mState.mIs2b;
|
||||
}
|
||||
|
@ -141,6 +142,7 @@ public:
|
|||
/**
|
||||
* Get a pointer to constant PRUnichar data.
|
||||
*/
|
||||
inline
|
||||
const PRUnichar* Get2b() const {
|
||||
NS_ASSERTION(Is2b(), "not 2b text");
|
||||
return m2b;
|
||||
|
@ -149,6 +151,7 @@ public:
|
|||
/**
|
||||
* Get a pointer to constant char data.
|
||||
*/
|
||||
inline
|
||||
const char* Get1b() const {
|
||||
NS_ASSERTION(!Is2b(), "not 1b text");
|
||||
return (const char*) m1b;
|
||||
|
@ -158,6 +161,7 @@ public:
|
|||
* Get the length of the fragment. The length is the number of logical
|
||||
* characters, not the number of bytes to store the characters.
|
||||
*/
|
||||
inline
|
||||
PRInt32 GetLength() const {
|
||||
return PRInt32(mState.mLength);
|
||||
}
|
||||
|
@ -166,6 +170,7 @@ public:
|
|||
* Mutable version of Get2b. Only works for a non-const object.
|
||||
* Returns a pointer to the PRUnichar data.
|
||||
*/
|
||||
inline
|
||||
PRUnichar* Get2b() {
|
||||
NS_ASSERTION(Is2b(), "not 2b text");
|
||||
return m2b;
|
||||
|
@ -175,6 +180,7 @@ public:
|
|||
* Mutable version of Get1b. Only works for a non-const object.
|
||||
* Returns a pointer to the char data.
|
||||
*/
|
||||
inline
|
||||
char* Get1b() {
|
||||
NS_ASSERTION(!Is2b(), "not 1b text");
|
||||
return (char*) m1b;
|
||||
|
@ -231,6 +237,7 @@ public:
|
|||
* Return the character in the text-fragment at the given
|
||||
* index. This always returns a PRUnichar.
|
||||
*/
|
||||
inline
|
||||
PRUnichar CharAt(PRInt32 aIndex) const {
|
||||
NS_ASSERTION(PRUint32(aIndex) < mState.mLength, "bad index");
|
||||
return mState.mIs2b ? m2b[aIndex] : PRUnichar(m1b[aIndex]);
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "nscore.h"
|
||||
#include "nslayout.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsString.h"
|
||||
|
|
|
@ -4872,7 +4872,7 @@ CSSDeclarationImpl::Clone(nsICSSDeclaration*& aClone) const
|
|||
}
|
||||
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewCSSDeclaration(nsICSSDeclaration** aInstancePtrResult)
|
||||
{
|
||||
if (aInstancePtrResult == nsnull) {
|
||||
|
|
|
@ -38,8 +38,6 @@
|
|||
#ifndef nsCSSKeywords_h___
|
||||
#define nsCSSKeywords_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
|
||||
class nsString;
|
||||
class nsCString;
|
||||
|
||||
|
@ -59,7 +57,7 @@ enum nsCSSKeyword {
|
|||
#undef CSS_KEY
|
||||
|
||||
|
||||
class NS_LAYOUT nsCSSKeywords {
|
||||
class nsCSSKeywords {
|
||||
public:
|
||||
static void AddRefTable(void);
|
||||
static void ReleaseTable(void);
|
||||
|
|
|
@ -364,7 +364,7 @@ PR_STATIC_CALLBACK(void) AppendRuleToSheet(nsICSSRule* aRule, void* aParser)
|
|||
parser->AppendRule(aRule);
|
||||
}
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewCSSParser(nsICSSParser** aInstancePtrResult)
|
||||
{
|
||||
CSSParserImpl *it = new CSSParserImpl();
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsCSSProps_h___
|
||||
#define nsCSSProps_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsString.h"
|
||||
|
||||
/*
|
||||
|
@ -57,7 +56,7 @@ enum nsCSSProperty {
|
|||
#undef CSS_PROP
|
||||
|
||||
|
||||
class NS_LAYOUT nsCSSProps {
|
||||
class nsCSSProps {
|
||||
public:
|
||||
static void AddRefTable(void);
|
||||
static void ReleaseTable(void);
|
||||
|
|
|
@ -322,7 +322,7 @@ CSSCharsetRuleImpl::GetEncoding(nsString& aEncoding) const
|
|||
}
|
||||
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewCSSCharsetRule(nsICSSCharsetRule** aInstancePtrResult, const nsString& aEncoding)
|
||||
{
|
||||
if (! aInstancePtrResult) {
|
||||
|
@ -608,7 +608,7 @@ CSSImportRuleImpl::SetSheet(nsICSSStyleSheet* aSheet)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewCSSImportRule(nsICSSImportRule** aInstancePtrResult,
|
||||
const nsString& aURLSpec,
|
||||
const nsString& aMedia)
|
||||
|
|
|
@ -4872,7 +4872,7 @@ CSSDeclarationImpl::Clone(nsICSSDeclaration*& aClone) const
|
|||
}
|
||||
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewCSSDeclaration(nsICSSDeclaration** aInstancePtrResult)
|
||||
{
|
||||
if (aInstancePtrResult == nsnull) {
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsCSSValue_h___
|
||||
#define nsCSSValue_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsColor.h"
|
||||
#include "nsString.h"
|
||||
#include "nsCoord.h"
|
||||
|
|
|
@ -661,7 +661,7 @@ HTMLCSSStyleSheetImpl::AttributeAffectsStyle(nsIAtom *aAttribute,
|
|||
}
|
||||
|
||||
// XXX For backwards compatibility and convenience
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewHTMLCSSStyleSheet(nsIHTMLCSSStyleSheet** aInstancePtrResult, nsIURI* aURL,
|
||||
nsIDocument* aDocument)
|
||||
{
|
||||
|
@ -679,7 +679,7 @@ NS_HTML nsresult
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewHTMLCSSStyleSheet(nsIHTMLCSSStyleSheet** aInstancePtrResult)
|
||||
{
|
||||
if (aInstancePtrResult == nsnull) {
|
||||
|
|
|
@ -1421,7 +1421,7 @@ HTMLStyleSheetImpl::AttributeAffectsStyle(nsIAtom *aAttribute,
|
|||
}
|
||||
|
||||
// XXX For convenience and backwards compatibility
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewHTMLStyleSheet(nsIHTMLStyleSheet** aInstancePtrResult, nsIURI* aURL,
|
||||
nsIDocument* aDocument)
|
||||
{
|
||||
|
@ -1440,7 +1440,7 @@ NS_NewHTMLStyleSheet(nsIHTMLStyleSheet** aInstancePtrResult, nsIURI* aURL,
|
|||
}
|
||||
|
||||
|
||||
NS_HTML nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewHTMLStyleSheet(nsIHTMLStyleSheet** aInstancePtrResult)
|
||||
{
|
||||
NS_PRECONDITION(aInstancePtrResult, "null out param");
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSGroupRule_h___
|
||||
#define nsICSSGroupRule_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsICSSRule.h"
|
||||
#include "nsISupportsArray.h"
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSImportRule_h___
|
||||
#define nsICSSImportRule_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsICSSRule.h"
|
||||
#include "nsString.h"
|
||||
|
||||
|
@ -62,7 +61,7 @@ public:
|
|||
NS_IMETHOD SetSheet(nsICSSStyleSheet*) = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSImportRule(nsICSSImportRule** aInstancePtrResult,
|
||||
const nsString& aURLSpec,
|
||||
const nsString& aMedia);
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSLoader_h___
|
||||
#define nsICSSLoader_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nsAReadableString.h"
|
||||
#include "nsICSSImportRule.h"
|
||||
|
@ -139,10 +138,10 @@ public:
|
|||
NS_IMETHOD StopLoadingSheet(nsIURI* aURL) = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSLoader(nsIDocument* aDocument, nsICSSLoader** aLoader);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSLoader(nsICSSLoader** aLoader);
|
||||
|
||||
#endif /* nsICSSLoader_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSNameSpaceRule_h___
|
||||
#define nsICSSNameSpaceRule_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsICSSRule.h"
|
||||
//#include "nsString.h"
|
||||
|
||||
|
@ -60,7 +59,7 @@ public:
|
|||
NS_IMETHOD SetURLSpec(const nsString& aURLSpec) = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSNameSpaceRule(nsICSSNameSpaceRule** aInstancePtrResult,
|
||||
nsIAtom* aPrefix, const nsString& aURLSpec);
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsCSS1Parser_h___
|
||||
#define nsCSS1Parser_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nsAWritableString.h"
|
||||
class nsIStyleRule;
|
||||
|
@ -128,7 +127,7 @@ public:
|
|||
#define NS_CSS_PARSER_DROP_DECLARATION \
|
||||
NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_LAYOUT,1)
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSParser(nsICSSParser** aInstancePtrResult);
|
||||
|
||||
#endif /* nsCSS1Parser_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSRule_h___
|
||||
#define nsICSSRule_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsIStyleRule.h"
|
||||
|
||||
class nsICSSStyleSheet;
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#define nsICSSStyleRule_h___
|
||||
|
||||
//#include <stdio.h>
|
||||
#include "nslayout.h"
|
||||
#include "nsICSSRule.h"
|
||||
#include "nsString.h"
|
||||
|
||||
|
@ -170,7 +169,7 @@ public:
|
|||
virtual nsIStyleRule* GetImportantRule(void) = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSStyleRule(nsICSSStyleRule** aInstancePtrResult, const nsCSSSelector& aSelector);
|
||||
|
||||
#endif /* nsICSSStyleRule_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsICSSStyleSheet_h___
|
||||
#define nsICSSStyleSheet_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsIStyleSheet.h"
|
||||
#include "nsString.h"
|
||||
|
||||
|
@ -94,10 +93,10 @@ public:
|
|||
};
|
||||
|
||||
// XXX for backwards compatibility and convenience
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSStyleSheet(nsICSSStyleSheet** aInstancePtrResult, nsIURI* aURL);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewCSSStyleSheet(nsICSSStyleSheet** aInstancePtrResult);
|
||||
|
||||
#endif /* nsICSSStyleSheet_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsIComputedDOMStyle_h___
|
||||
#define nsIComputedDOMStyle_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsIDOMCSSStyleDeclaration.h"
|
||||
|
||||
class nsIDOMElement;
|
||||
|
@ -57,7 +56,7 @@ public:
|
|||
nsIPresShell *aPresShell) = 0;
|
||||
};
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewComputedDOMStyle(nsIComputedDOMStyle** aComputedStyle);
|
||||
|
||||
#endif /* nsIComputedDOMStyle_h___ */
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsIHTMLCSSStyleSheet_h___
|
||||
#define nsIHTMLCSSStyleSheet_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsIStyleSheet.h"
|
||||
|
||||
// IID for the nsIHTMLCSSStyleSheet interface {b5cc4ac0-eab6-11d1-8031-006008159b5a}
|
||||
|
@ -54,11 +53,11 @@ public:
|
|||
};
|
||||
|
||||
// XXX for convenience and backward compatibility
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewHTMLCSSStyleSheet(nsIHTMLCSSStyleSheet** aInstancePtrResult, nsIURI* aURL,
|
||||
nsIDocument* aDocument);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewHTMLCSSStyleSheet(nsIHTMLCSSStyleSheet** aInstancePtrResult);
|
||||
|
||||
#endif /* nsIHTMLCSSStyleSheet_h___ */
|
||||
|
|
|
@ -44,12 +44,12 @@ public:
|
|||
NS_IMETHOD MatchesMedium(nsIAtom* aMedium, PRBool* aMatch); \
|
||||
NS_IMETHOD DropReference(void);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewMediaList(const nsAReadableString& aMediaText, nsIMediaList** aInstancePtrResult);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewMediaList(nsIMediaList** aInstancePtrResult);
|
||||
|
||||
extern NS_HTML nsresult
|
||||
extern NS_EXPORT nsresult
|
||||
NS_NewMediaList(nsISupportsArray* aArray, nsICSSStyleSheet* aSheet, nsIMediaList** aInstancePtrResult);
|
||||
#endif /* nsICSSLoader_h___ */
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
|
||||
class nsISizeOfHandler;
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsISupports.h"
|
||||
|
||||
class nsISizeOfHandler;
|
||||
|
|
|
@ -1202,7 +1202,7 @@ nsStyleContext::Destroy()
|
|||
presContext->FreeToShell(sizeof(nsStyleContext), this);
|
||||
}
|
||||
|
||||
NS_LAYOUT nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewStyleContext(nsIStyleContext** aInstancePtrResult,
|
||||
nsIStyleContext* aParentContext,
|
||||
nsIAtom* aPseudoTag,
|
||||
|
|
|
@ -1379,7 +1379,7 @@ void StyleSetImpl::ListContexts(nsIStyleContext* aRootContext, FILE* out, PRInt3
|
|||
#endif
|
||||
|
||||
|
||||
NS_LAYOUT nsresult
|
||||
NS_EXPORT nsresult
|
||||
NS_NewStyleSet(nsIStyleSet** aInstancePtrResult)
|
||||
{
|
||||
if (aInstancePtrResult == nsnull) {
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#ifndef nsStyleUtil_h___
|
||||
#define nsStyleUtil_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
#include "nsCoord.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsILinkHandler.h" // for nsLinkState
|
||||
|
|
Загрузка…
Ссылка в новой задаче