Bug 745054 - Part 1: Fix Skia compilation on windows. r=mattwoodrow

This commit is contained in:
Bas Schouten 2012-04-13 04:10:22 +02:00
parent 189a897f22
commit 038184f126

View File

@ -36,7 +36,7 @@
* ***** END LICENSE BLOCK ***** */
#include "ScaledFontWin.h"
#include "ScaeldFontBase.h"
#include "ScaledFontBase.h"
#ifdef USE_SKIA
#include "skia/SkTypeface_win.h"
@ -55,7 +55,7 @@ ScaledFontWin::ScaledFontWin(LOGFONT* aFont, Float aSize)
SkTypeface* ScaledFontWin::GetSkTypeface()
{
if (!mTypeface) {
mTypeface = SkCreateTypefaceFromLOGFONT(lf);
mTypeface = SkCreateTypefaceFromLOGFONT(mLogFont);
}
return mTypeface;
}