Bug 688190 part a: Allow using nsIDocument::WarnOnceAbout for more cases. r=bz

This commit is contained in:
Ms2ger 2011-09-27 10:18:25 +02:00
parent 05ebb4e7ba
commit c139a24967
2 changed files with 2 additions and 2 deletions

View File

@ -1579,7 +1579,7 @@ public:
void WarnOnceAbout(DeprecatedOperations aOperation);
private:
PRUint32 mWarnedAbout;
PRUint64 mWarnedAbout;
protected:
~nsIDocument()

View File

@ -8156,7 +8156,7 @@ static const char* kWarnings[] = {
void
nsIDocument::WarnOnceAbout(DeprecatedOperations aOperation)
{
PR_STATIC_ASSERT(eDeprecatedOperationCount <= 32);
PR_STATIC_ASSERT(eDeprecatedOperationCount <= 64);
if (mWarnedAbout & (1 << aOperation)) {
return;
}