Bug 815359 - Use the correct contract ID to create nsISupportsPRUint32's in the icon decoder; r=bzbarsky

This commit is contained in:
Ehsan Akhgari 2012-11-27 21:07:01 -05:00
parent c387fb7a12
commit 6339b343b1

View File

@ -212,9 +212,9 @@ nsICODecoder::SetHotSpotIfCursor() {
}
nsCOMPtr<nsISupportsPRUint32> intwrapx =
do_CreateInstance("@mozilla.org/supports-uint32_t;1");
do_CreateInstance("@mozilla.org/supports-PRUint32;1");
nsCOMPtr<nsISupportsPRUint32> intwrapy =
do_CreateInstance("@mozilla.org/supports-uint32_t;1");
do_CreateInstance("@mozilla.org/supports-PRUint32;1");
if (intwrapx && intwrapy) {
intwrapx->SetData(mDirEntry.mXHotspot);