| Index: Source/platform/fonts/skia/SkiaFontWin.cpp
|
| diff --git a/Source/platform/fonts/skia/SkiaFontWin.cpp b/Source/platform/fonts/skia/SkiaFontWin.cpp
|
| index ce9369b48999264e6f1f3b15da10b8593c363ab2..9c0b34ab0a6abe02a9d58fc5bf7a0843c7046c8f 100644
|
| --- a/Source/platform/fonts/skia/SkiaFontWin.cpp
|
| +++ b/Source/platform/fonts/skia/SkiaFontWin.cpp
|
| @@ -169,13 +169,13 @@ void paintSkiaText(GraphicsContext* context,
|
| const SkRect& textRect)
|
| {
|
| int size;
|
| - int paintTextFlags;
|
| + int paintTextFlags = data->paintTextFlags();
|
|
|
| // Ensure font load for printing, because PDF device needs it.
|
| if (context->isPrintingDevice())
|
| FontPlatformData::ensureFontLoaded(hfont);
|
|
|
| - RefPtr<SkTypeface> face = CreateTypefaceFromHFont(hfont, &size, &paintTextFlags);
|
| + RefPtr<SkTypeface> face = CreateTypefaceFromHFont(hfont, &size);
|
| paintSkiaText(context, data, face.get(), size, paintTextFlags, numGlyphs, glyphs, advances, offsets, origin, textRect);
|
| }
|
| #endif
|
|
|