Disable icon loading on unix and mac until netlib can cope
git-svn-id: svn://10.0.0.236/trunk@27394 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
41106adcdd
commit
131d57b8d1
@ -344,6 +344,11 @@ nsresult DeviceContextImpl::CreateIconILGroupContext()
|
||||
|
||||
NS_IMETHODIMP DeviceContextImpl::LoadIconImage(PRInt32 aId, nsIImage*& aImage)
|
||||
{
|
||||
// XXX synchronous image loading doesn't work on unix or mac yet
|
||||
// because netlib is not in its own thread.
|
||||
#if defined(XP_UNIX) || defined(XP_MAC)
|
||||
return NS_ERROR_FAILURE;
|
||||
#endif
|
||||
nsresult result;
|
||||
|
||||
// Initialize out parameter
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user