mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 688190 part a: Allow using nsIDocument::WarnOnceAbout for more cases. r=bz
This commit is contained in:
parent
05ebb4e7ba
commit
c139a24967
@ -1579,7 +1579,7 @@ public:
|
||||
void WarnOnceAbout(DeprecatedOperations aOperation);
|
||||
|
||||
private:
|
||||
PRUint32 mWarnedAbout;
|
||||
PRUint64 mWarnedAbout;
|
||||
|
||||
protected:
|
||||
~nsIDocument()
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user