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 8e343ffd0d8244400ab1611568505b1e10c960ec..9f7c15a140927f7ae5b8e064eab60929d47d32b4 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h |
@@ -31,6 +31,7 @@ |
#ifndef HarfBuzzFace_h |
#define HarfBuzzFace_h |
+#include "platform/fonts/UnicodeRangeSet.h" |
#include "wtf/Allocator.h" |
#include "wtf/HashMap.h" |
#include "wtf/Noncopyable.h" |
@@ -60,7 +61,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(unsigned rangeFrom = 0, unsigned rangeTo = kMaxCodepoint) const; |
+ hb_font_t* createFont(PassRefPtr<UnicodeRangeSet> = nullptr) const; |
hb_face_t* face() const { return m_face; } |
private: |