Make GetStyleDataExternal |const| to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@136060 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -580,7 +580,7 @@ public:
|
||||
* Get the style data associated with this frame.
|
||||
*/
|
||||
NS_IMETHOD GetStyleDataExternal(nsStyleStructID aSID,
|
||||
const nsStyleStruct*& aStyleStruct) = 0;
|
||||
const nsStyleStruct*& aStyleStruct) const = 0;
|
||||
|
||||
#ifdef _IMPL_NS_LAYOUT
|
||||
nsresult GetStyleData(nsStyleStructID aSID,
|
||||
@@ -591,7 +591,7 @@ public:
|
||||
}
|
||||
#else
|
||||
nsresult GetStyleData(nsStyleStructID aSID,
|
||||
const nsStyleStruct*& aStyleStruct) {
|
||||
const nsStyleStruct*& aStyleStruct) const {
|
||||
return GetStyleDataExternal(aSID, aStyleStruct);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -4716,7 +4716,7 @@ nsFrame::GetProperty(nsIPresContext* aPresContext,
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFrame::GetStyleDataExternal(nsStyleStructID aSID,
|
||||
const nsStyleStruct*& aStyleStruct)
|
||||
const nsStyleStruct*& aStyleStruct) const
|
||||
{
|
||||
if (!mStyleContext) {
|
||||
aStyleStruct = nsnull;
|
||||
|
||||
@@ -398,7 +398,7 @@ public:
|
||||
NSFramePropertyDtorFunc aPropDtorFunc);
|
||||
|
||||
NS_IMETHOD GetStyleDataExternal(nsStyleStructID aSID,
|
||||
const nsStyleStruct*& aStyleStruct);
|
||||
const nsStyleStruct*& aStyleStruct) const;
|
||||
|
||||
#ifdef IBMBIDI
|
||||
NS_IMETHOD GetBidiProperty(nsIPresContext* aPresContext,
|
||||
|
||||
@@ -580,7 +580,7 @@ public:
|
||||
* Get the style data associated with this frame.
|
||||
*/
|
||||
NS_IMETHOD GetStyleDataExternal(nsStyleStructID aSID,
|
||||
const nsStyleStruct*& aStyleStruct) = 0;
|
||||
const nsStyleStruct*& aStyleStruct) const = 0;
|
||||
|
||||
#ifdef _IMPL_NS_LAYOUT
|
||||
nsresult GetStyleData(nsStyleStructID aSID,
|
||||
@@ -591,7 +591,7 @@ public:
|
||||
}
|
||||
#else
|
||||
nsresult GetStyleData(nsStyleStructID aSID,
|
||||
const nsStyleStruct*& aStyleStruct) {
|
||||
const nsStyleStruct*& aStyleStruct) const {
|
||||
return GetStyleDataExternal(aSID, aStyleStruct);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -4716,7 +4716,7 @@ nsFrame::GetProperty(nsIPresContext* aPresContext,
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFrame::GetStyleDataExternal(nsStyleStructID aSID,
|
||||
const nsStyleStruct*& aStyleStruct)
|
||||
const nsStyleStruct*& aStyleStruct) const
|
||||
{
|
||||
if (!mStyleContext) {
|
||||
aStyleStruct = nsnull;
|
||||
|
||||
@@ -398,7 +398,7 @@ public:
|
||||
NSFramePropertyDtorFunc aPropDtorFunc);
|
||||
|
||||
NS_IMETHOD GetStyleDataExternal(nsStyleStructID aSID,
|
||||
const nsStyleStruct*& aStyleStruct);
|
||||
const nsStyleStruct*& aStyleStruct) const;
|
||||
|
||||
#ifdef IBMBIDI
|
||||
NS_IMETHOD GetBidiProperty(nsIPresContext* aPresContext,
|
||||
|
||||
Reference in New Issue
Block a user