Remove duplicate initialization of nsDeviceContext reference count by derived class constructor (which is dangerous since it could be incremented during the base class constructor). Various other cleanup, mostly in xlib port. b=111088 r=rbs sr=jag

git-svn-id: svn://10.0.0.236/trunk@189652 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%fas.harvard.edu
2006-02-10 22:49:15 +00:00
parent 5709759bf5
commit 738919bafc

View File

@@ -78,10 +78,10 @@ PRUint32 nsDeviceContextMac::sNumberOfScreens = 0;
* @update 12/9/98 dwc
*/
nsDeviceContextMac :: nsDeviceContextMac()
: mSurface(nsnull), mOldPort(nsnull)
: DeviceContextImpl(),
mSurface(nsnull),
mOldPort(nsnull)
{
NS_INIT_REFCNT();
}
/** ---------------------------------------------------