зеркало из https://github.com/mozilla/pjs.git
Eliminated warnings from recent checkin (trivial changes).
This commit is contained in:
Родитель
4a53ab62b7
Коммит
e97f599347
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче