Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1353)

Unified Diff: Source/core/platform/graphics/skia/SkiaFontWin.h

Issue 24422003: Merge FontPlatformData::setupPaint and setupPaintForFont on Win (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: w/gdi fix Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/platform/graphics/skia/SkiaFontWin.h
diff --git a/Source/core/platform/graphics/skia/SkiaFontWin.h b/Source/core/platform/graphics/skia/SkiaFontWin.h
index 5e41a0d091a89162ecd8a0a79909b3b0645e8266..b5253baf12965b7062b9b2d9c1e00497c334239a 100644
--- a/Source/core/platform/graphics/skia/SkiaFontWin.h
+++ b/Source/core/platform/graphics/skia/SkiaFontWin.h
@@ -58,13 +58,14 @@ void paintSkiaText(GraphicsContext*,
// Note: this is less efficient than calling the version with FontPlatformData,
// as that caches the SkTypeface object.
void paintSkiaText(GraphicsContext*,
- HFONT,
- int numGlyphs,
- const WORD* glyphs,
- const int* advances,
- const GOFFSET* offsets,
- const SkPoint& origin,
- const SkRect& textRect);
+ const FontPlatformData&,
+ HFONT,
+ int numGlyphs,
+ const WORD* glyphs,
+ const int* advances,
+ const GOFFSET* offsets,
+ const SkPoint& origin,
+ const SkRect& textRect);
} // namespace WebCore
« no previous file with comments | « Source/core/platform/graphics/chromium/UniscribeHelper.cpp ('k') | Source/core/platform/graphics/skia/SkiaFontWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698