mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 18:32:00 +00:00

Change AppUnitsPerDevPixel to return a PRUint32. It should never return negative values and it is used in initializer lists that expect unsigned values, which is not valid c++0x. I have also change the member variables to be unsigned and converted a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too if you like it better.