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

Unified Diff: Source/core/platform/graphics/chromium/UniscribeHelper.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/chromium/UniscribeHelper.h
diff --git a/Source/core/platform/graphics/chromium/UniscribeHelper.h b/Source/core/platform/graphics/chromium/UniscribeHelper.h
index 66826adfed1e1504f6f80288da76797aca90b610..8a724c6d6088e4cf07f4f7d53a44963d299dbded 100644
--- a/Source/core/platform/graphics/chromium/UniscribeHelper.h
+++ b/Source/core/platform/graphics/chromium/UniscribeHelper.h
@@ -46,6 +46,7 @@ namespace WebCore {
class FloatRect;
class FontFeatureSettings;
+class FontPlatformData;
class GraphicsContext;
const unsigned cUniscribeHelperStackRuns = 8;
@@ -197,10 +198,9 @@ public:
// be pre-set.
//
// The y position is the upper left corner, NOT the baseline.
- void draw(GraphicsContext* graphicsContext, HDC dc,
- int x, int y,
- const FloatRect& textRect,
- int from, int to);
+ void draw(GraphicsContext*, const FontPlatformData&, HDC,
+ int x, int y, const FloatRect& textRect,
+ int from, int to);
// Returns the first glyph assigned to the character at the given offset.
// This function is used to retrieve glyph information when Uniscribe is

Powered by Google App Engine
This is Rietveld 408576698