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