| Index: third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h
|
| diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h
|
| index 9f7c15a140927f7ae5b8e064eab60929d47d32b4..23f572c0bdc4ce4b82dd2e948665adf05ea0734a 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h
|
| @@ -45,6 +45,7 @@
|
| namespace blink {
|
|
|
| class FontPlatformData;
|
| +struct FontRenderStyle;
|
|
|
| class HarfBuzzFace : public RefCounted<HarfBuzzFace> {
|
| WTF_MAKE_NONCOPYABLE(HarfBuzzFace);
|
| @@ -61,7 +62,7 @@ public:
|
| // In order to support the restricting effect of unicode-range optionally a
|
| // range restriction can be passed in, which will restrict which glyphs we
|
| // return in the harfBuzzGetGlyph function.
|
| - hb_font_t* createFont(PassRefPtr<UnicodeRangeSet> = nullptr) const;
|
| + hb_font_t* createFont(float size, const FontRenderStyle&, PassRefPtr<UnicodeRangeSet> = nullptr) const;
|
| hb_face_t* face() const { return m_face; }
|
|
|
| private:
|
|
|