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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontPlatformData.h

Issue 2581083003: Initial OpenType Font Variations Support (Closed)
Patch Set: Fix hash collision tests, adjust test expectations Created 4 years 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: third_party/WebKit/Source/platform/fonts/FontPlatformData.h
diff --git a/third_party/WebKit/Source/platform/fonts/FontPlatformData.h b/third_party/WebKit/Source/platform/fonts/FontPlatformData.h
index 862af8402a5712ef583831846254276b007370b7..e2725206952af3f7bd2e9d4dd464247d1e30aa4f 100644
--- a/third_party/WebKit/Source/platform/fonts/FontPlatformData.h
+++ b/third_party/WebKit/Source/platform/fonts/FontPlatformData.h
@@ -74,6 +74,7 @@ namespace blink {
class Font;
class HarfBuzzFace;
+class FontVariationSettings;
class PLATFORM_EXPORT FontPlatformData {
USING_FAST_MALLOC(FontPlatformData);
@@ -95,9 +96,10 @@ class PLATFORM_EXPORT FontPlatformData {
#if OS(MACOSX)
FontPlatformData(NSFont*,
float size,
- bool syntheticBold = false,
- bool syntheticItalic = false,
- FontOrientation = FontOrientation::Horizontal);
+ bool syntheticBold,
+ bool syntheticItalic,
+ FontOrientation,
+ FontVariationSettings*);
#endif
FontPlatformData(sk_sp<SkTypeface>,
const char* name,

Powered by Google App Engine
This is Rietveld 408576698