Bug 1245464 - initialize with 0 mSupportedIfaces in xpcAccessibleGeneric in order to avoid corrupted result after bit-wise operation. r=surkov

This commit is contained in:
Bogdan Postelnicu 2016-02-03 13:53:11 +02:00
parent 22bb795314
commit c8e4165734

View File

@ -39,7 +39,7 @@ public:
}
xpcAccessibleGeneric(ProxyAccessible* aProxy, uint32_t aInterfaces) :
mIntl(aProxy)
mIntl(aProxy), mSupportedIfaces(0)
{
if (aInterfaces & Interfaces::SELECTION) {
mSupportedIfaces |= eSelectable;