Eliminated warnings from recent checkin (trivial changes).
git-svn-id: svn://10.0.0.236/trunk@72884 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b51a2c172a
commit
b50c868ad4
@ -1153,7 +1153,7 @@ PRUint32 StyleTextImpl::ComputeCRC32(PRUint32 aCrc) const
|
||||
crc = StyleCoordCRC(crc,&mWordSpacing);
|
||||
crc = StyleCoordCRC(crc,&mVerticalAlign);
|
||||
#endif
|
||||
return aCrc;
|
||||
return crc;
|
||||
}
|
||||
|
||||
// --------------------
|
||||
@ -1948,7 +1948,7 @@ public:
|
||||
|
||||
friend class StyleContextImpl;
|
||||
|
||||
virtual void SizeOf(nsISizeOfHandler *aSizeOfHandler, PRUint32 &aSize);
|
||||
void SizeOf(nsISizeOfHandler *aSizeOfHandler, PRUint32 &aSize);
|
||||
|
||||
private: // all data and methods private: only friends have access
|
||||
|
||||
|
||||
@ -683,8 +683,10 @@ EnumRulesMatching(nsISupports* aProcessor, void* aData)
|
||||
}
|
||||
|
||||
#ifdef SHARE_STYLECONTEXTS
|
||||
static int gNewCount=0;
|
||||
static int gSharedCount=0;
|
||||
#ifdef NOISY_DEBUG
|
||||
static int gNewCount=0;
|
||||
static int gSharedCount=0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
nsIStyleContext* StyleSetImpl::GetContext(nsIPresContext* aPresContext,
|
||||
|
||||
@ -1153,7 +1153,7 @@ PRUint32 StyleTextImpl::ComputeCRC32(PRUint32 aCrc) const
|
||||
crc = StyleCoordCRC(crc,&mWordSpacing);
|
||||
crc = StyleCoordCRC(crc,&mVerticalAlign);
|
||||
#endif
|
||||
return aCrc;
|
||||
return crc;
|
||||
}
|
||||
|
||||
// --------------------
|
||||
@ -1948,7 +1948,7 @@ public:
|
||||
|
||||
friend class StyleContextImpl;
|
||||
|
||||
virtual void SizeOf(nsISizeOfHandler *aSizeOfHandler, PRUint32 &aSize);
|
||||
void SizeOf(nsISizeOfHandler *aSizeOfHandler, PRUint32 &aSize);
|
||||
|
||||
private: // all data and methods private: only friends have access
|
||||
|
||||
|
||||
@ -683,8 +683,10 @@ EnumRulesMatching(nsISupports* aProcessor, void* aData)
|
||||
}
|
||||
|
||||
#ifdef SHARE_STYLECONTEXTS
|
||||
static int gNewCount=0;
|
||||
static int gSharedCount=0;
|
||||
#ifdef NOISY_DEBUG
|
||||
static int gNewCount=0;
|
||||
static int gSharedCount=0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
nsIStyleContext* StyleSetImpl::GetContext(nsIPresContext* aPresContext,
|
||||
|
||||
@ -1153,7 +1153,7 @@ PRUint32 StyleTextImpl::ComputeCRC32(PRUint32 aCrc) const
|
||||
crc = StyleCoordCRC(crc,&mWordSpacing);
|
||||
crc = StyleCoordCRC(crc,&mVerticalAlign);
|
||||
#endif
|
||||
return aCrc;
|
||||
return crc;
|
||||
}
|
||||
|
||||
// --------------------
|
||||
@ -1948,7 +1948,7 @@ public:
|
||||
|
||||
friend class StyleContextImpl;
|
||||
|
||||
virtual void SizeOf(nsISizeOfHandler *aSizeOfHandler, PRUint32 &aSize);
|
||||
void SizeOf(nsISizeOfHandler *aSizeOfHandler, PRUint32 &aSize);
|
||||
|
||||
private: // all data and methods private: only friends have access
|
||||
|
||||
|
||||
@ -683,8 +683,10 @@ EnumRulesMatching(nsISupports* aProcessor, void* aData)
|
||||
}
|
||||
|
||||
#ifdef SHARE_STYLECONTEXTS
|
||||
static int gNewCount=0;
|
||||
static int gSharedCount=0;
|
||||
#ifdef NOISY_DEBUG
|
||||
static int gNewCount=0;
|
||||
static int gSharedCount=0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
nsIStyleContext* StyleSetImpl::GetContext(nsIPresContext* aPresContext,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user