Make the aInherited parameters to Compute*Data const. (Bug 476598) r+sr=bzbarsky

This commit is contained in:
L. David Baron 2009-02-04 13:24:18 -08:00
parent 5a18374572
commit 69c66d75de
2 changed files with 67 additions and 46 deletions

View File

@ -2820,7 +2820,8 @@ nsRuleNode::ComputeFontData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_INHERITED(Font, (mPresContext), font, parentFont, COMPUTE_START_INHERITED(Font, (mPresContext), font, parentFont,
Font, fontData) Font, fontData)
@ -2979,7 +2980,8 @@ nsRuleNode::ComputeTextData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_INHERITED(Text, (), text, parentText, Text, textData) COMPUTE_START_INHERITED(Text, (), text, parentText, Text, textData)
@ -3102,7 +3104,8 @@ nsRuleNode::ComputeTextResetData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(TextReset, (), text, parentText, Text, textData) COMPUTE_START_RESET(TextReset, (), text, parentText, Text, textData)
@ -3154,7 +3157,7 @@ nsRuleNode::ComputeUserInterfaceData(void* aStartStruct,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, const RuleDetail aRuleDetail,
PRBool aInherited) const PRBool aInherited)
{ {
COMPUTE_START_INHERITED(UserInterface, (), ui, parentUI, COMPUTE_START_INHERITED(UserInterface, (), ui, parentUI,
UserInterface, uiData) UserInterface, uiData)
@ -3254,7 +3257,8 @@ nsRuleNode::ComputeUIResetData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(UIReset, (), ui, parentUI, UserInterface, uiData) COMPUTE_START_RESET(UIReset, (), ui, parentUI, UserInterface, uiData)
@ -3330,7 +3334,8 @@ nsRuleNode::ComputeDisplayData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(Display, (), display, parentDisplay, COMPUTE_START_RESET(Display, (), display, parentDisplay,
Display, displayData) Display, displayData)
@ -3648,7 +3653,8 @@ nsRuleNode::ComputeVisibilityData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_INHERITED(Visibility, (mPresContext), COMPUTE_START_INHERITED(Visibility, (mPresContext),
visibility, parentVisibility, visibility, parentVisibility,
@ -3689,7 +3695,8 @@ nsRuleNode::ComputeColorData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_INHERITED(Color, (mPresContext), color, parentColor, COMPUTE_START_INHERITED(Color, (mPresContext), color, parentColor,
Color, colorData) Color, colorData)
@ -3719,7 +3726,7 @@ nsRuleNode::ComputeBackgroundData(void* aStartStruct,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, const RuleDetail aRuleDetail,
PRBool aInherited) const PRBool aInherited)
{ {
COMPUTE_START_RESET(Background, (), bg, parentBG, Color, colorData) COMPUTE_START_RESET(Background, (), bg, parentBG, Color, colorData)
@ -3846,7 +3853,8 @@ nsRuleNode::ComputeMarginData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(Margin, (), margin, parentMargin, Margin, marginData) COMPUTE_START_RESET(Margin, (), margin, parentMargin, Margin, marginData)
@ -3881,7 +3889,8 @@ nsRuleNode::ComputeBorderData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(Border, (mPresContext), border, parentBorder, COMPUTE_START_RESET(Border, (mPresContext), border, parentBorder,
Margin, marginData) Margin, marginData)
@ -4180,7 +4189,8 @@ nsRuleNode::ComputePaddingData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(Padding, (), padding, parentPadding, Margin, marginData) COMPUTE_START_RESET(Padding, (), padding, parentPadding, Margin, marginData)
@ -4215,7 +4225,8 @@ nsRuleNode::ComputeOutlineData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(Outline, (mPresContext), outline, parentOutline, COMPUTE_START_RESET(Outline, (mPresContext), outline, parentOutline,
Margin, marginData) Margin, marginData)
@ -4310,7 +4321,8 @@ nsRuleNode::ComputeListData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_INHERITED(List, (), list, parentList, List, listData) COMPUTE_START_INHERITED(List, (), list, parentList, List, listData)
@ -4380,7 +4392,8 @@ nsRuleNode::ComputePositionData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(Position, (), pos, parentPos, Position, posData) COMPUTE_START_RESET(Position, (), pos, parentPos, Position, posData)
@ -4439,7 +4452,8 @@ nsRuleNode::ComputeTableData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(Table, (), table, parentTable, Table, tableData) COMPUTE_START_RESET(Table, (), table, parentTable, Table, tableData)
@ -4476,7 +4490,8 @@ nsRuleNode::ComputeTableBorderData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_INHERITED(TableBorder, (mPresContext), table, parentTable, COMPUTE_START_INHERITED(TableBorder, (mPresContext), table, parentTable,
Table, tableData) Table, tableData)
@ -4530,7 +4545,8 @@ nsRuleNode::ComputeContentData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(Content, (), content, parentContent, COMPUTE_START_RESET(Content, (), content, parentContent,
Content, contentData) Content, contentData)
@ -4717,7 +4733,8 @@ nsRuleNode::ComputeQuotesData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_INHERITED(Quotes, (), quotes, parentQuotes, COMPUTE_START_INHERITED(Quotes, (), quotes, parentQuotes,
Content, contentData) Content, contentData)
@ -4767,7 +4784,8 @@ nsRuleNode::ComputeXULData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(XUL, (), xul, parentXUL, XUL, xulData) COMPUTE_START_RESET(XUL, (), xul, parentXUL, XUL, xulData)
@ -4818,7 +4836,8 @@ nsRuleNode::ComputeColumnData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(Column, (mPresContext), column, parent, Column, columnData) COMPUTE_START_RESET(Column, (mPresContext), column, parent, Column, columnData)
@ -4944,7 +4963,8 @@ nsRuleNode::ComputeSVGData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_INHERITED(SVG, (), svg, parentSVG, SVG, SVGData) COMPUTE_START_INHERITED(SVG, (), svg, parentSVG, SVG, SVGData)
@ -5138,7 +5158,8 @@ nsRuleNode::ComputeSVGResetData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
const RuleDetail aRuleDetail, PRBool aInherited) const RuleDetail aRuleDetail,
const PRBool aInherited)
{ {
COMPUTE_START_RESET(SVGReset, (), svgReset, parentSVGReset, SVG, SVGData) COMPUTE_START_RESET(SVGReset, (), svgReset, parentSVGReset, SVG, SVGData)

View File

@ -475,141 +475,141 @@ protected:
ComputeDisplayData(void* aStartStruct, ComputeDisplayData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeVisibilityData(void* aStartStruct, ComputeVisibilityData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeFontData(void* aStartStruct, ComputeFontData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeColorData(void* aStartStruct, ComputeColorData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeBackgroundData(void* aStartStruct, ComputeBackgroundData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeMarginData(void* aStartStruct, ComputeMarginData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeBorderData(void* aStartStruct, ComputeBorderData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputePaddingData(void* aStartStruct, ComputePaddingData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeOutlineData(void* aStartStruct, ComputeOutlineData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeListData(void* aStartStruct, ComputeListData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputePositionData(void* aStartStruct, ComputePositionData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeTableData(void* aStartStruct, ComputeTableData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeTableBorderData(void* aStartStruct, ComputeTableBorderData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeContentData(void* aStartStruct, ComputeContentData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeQuotesData(void* aStartStruct, ComputeQuotesData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeTextData(void* aStartStruct, ComputeTextData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeTextResetData(void* aStartStruct, ComputeTextResetData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeUserInterfaceData(void* aStartStruct, ComputeUserInterfaceData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsStyleContext* aContext,
nsRuleNode* aHighestNode, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeUIResetData(void* aStartStruct, ComputeUIResetData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeXULData(void* aStartStruct, ComputeXULData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeColumnData(void* aStartStruct, ComputeColumnData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
#ifdef MOZ_SVG #ifdef MOZ_SVG
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeSVGData(void* aStartStruct, ComputeSVGData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
NS_HIDDEN_(const void*) NS_HIDDEN_(const void*)
ComputeSVGResetData(void* aStartStruct, ComputeSVGResetData(void* aStartStruct,
const nsRuleDataStruct& aData, const nsRuleDataStruct& aData,
nsStyleContext* aContext, nsRuleNode* aHighestNode, nsStyleContext* aContext, nsRuleNode* aHighestNode,
RuleDetail aRuleDetail, PRBool aInherited); RuleDetail aRuleDetail, const PRBool aInherited);
#endif #endif
// helpers for |ComputeFontData| that need access to |mNoneBits|: // helpers for |ComputeFontData| that need access to |mNoneBits|: