From 131d57b8d1333ee5165238fa4585cb304d1bdf8c Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Tue, 13 Apr 1999 21:54:43 +0000 Subject: [PATCH] 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 --- mozilla/gfx/src/nsDeviceContext.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mozilla/gfx/src/nsDeviceContext.cpp b/mozilla/gfx/src/nsDeviceContext.cpp index cac64e37813..aa379adf117 100644 --- a/mozilla/gfx/src/nsDeviceContext.cpp +++ b/mozilla/gfx/src/nsDeviceContext.cpp @@ -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