зеркало из https://github.com/mozilla/gecko-dev.git
Fixed call to GetFontCache
This commit is contained in:
Родитель
1be78b877e
Коммит
31c7923449
|
@ -833,7 +833,8 @@ void nsWindow::SetFont(const nsFont &aFont)
|
|||
if (mContext == nsnull) {
|
||||
return;
|
||||
}
|
||||
nsIFontCache* fontCache = mContext->GetFontCache();
|
||||
nsIFontCache* fontCache;
|
||||
mContext->GetFontCache(fontCache);
|
||||
if (fontCache != nsnull) {
|
||||
nsIFontMetrics* metrics = fontCache->GetMetricsFor(aFont);
|
||||
if (metrics != nsnull) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче