| Index: third_party/WebKit/Source/platform/fonts/FontDataRange.h
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontDataRange.h b/third_party/WebKit/Source/platform/fonts/FontDataRange.h
|
| index 3872a3a18f72ea05bcaf0ae8061f6fefee388f9c..7eabe48d6cd889e584b9ad514c9ea7a923643598 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontDataRange.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontDataRange.h
|
| @@ -59,6 +59,7 @@ struct FontDataRange {
|
|
|
| UChar32 from() const { return m_from; }
|
| UChar32 to() const { return m_to; }
|
| + bool contains(UChar32 testChar) { return testChar >= m_from && testChar <= m_to; }
|
| bool isEntireRange() const { return !m_from && m_to >= kMaxCodepoint; }
|
| PassRefPtr<SimpleFontData> fontData() const { return m_fontData; }
|
|
|
|
|