Do not crash if the Font cache has not been initialized yet...
git-svn-id: svn://10.0.0.236/trunk@4310 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
adc6800400
commit
c65579b402
@ -156,7 +156,7 @@ nsIFontCache* nsDeviceContextWin::GetFontCache()
|
||||
|
||||
void nsDeviceContextWin::FlushFontCache()
|
||||
{
|
||||
NS_RELEASE(mFontCache);
|
||||
NS_IF_RELEASE(mFontCache);
|
||||
}
|
||||
|
||||
nsresult nsDeviceContextWin::CreateFontCache()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user