Bug 787512: Pack nsListenerStruct better on Windows. r=smaug

This commit is contained in:
Kyle Huey 2012-09-02 20:22:41 -07:00
parent 0aef976df5
commit a1ca1b5921

View File

@ -44,8 +44,8 @@ struct nsListenerStruct
nsCOMPtr<nsIAtom> mTypeAtom;
uint16_t mFlags;
uint8_t mListenerType;
bool mListenerIsHandler;
bool mHandlerIsString;
bool mListenerIsHandler : 1;
bool mHandlerIsString : 1;
nsIJSEventListener* GetJSListener() const {
return (mListenerType == eJSEventListener) ?