зеркало из https://github.com/mozilla/pjs.git
The GetFont method of nsIFontMetrics takes a const pointer reference
as argument, so we must pass a const pointer reference to it.
This commit is contained in:
Родитель
1620a04ec8
Коммит
29c86a6abf
|
@ -903,7 +903,7 @@ nsRenderingContextGTK::DrawString(const char *aString, PRUint32 aLength,
|
|||
|
||||
if (mFontMetrics)
|
||||
{
|
||||
nsFont *font;
|
||||
const nsFont *font;
|
||||
mFontMetrics->GetFont(font);
|
||||
PRUint8 deco = font->decorations;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче