| Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h
|
| diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h b/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h
|
| index 1e778a55a00c88327d1dc8c891ec33f1bb049798..86d7f69c735fd749dc2bbe42f6fe97662086e129 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h
|
| @@ -135,6 +135,8 @@ private:
|
| public:
|
| ShapeCache(): m_weakFactory(this), m_version(0) { }
|
|
|
| + static unsigned maxLengthToCache() { return SmallStringKey::capacity(); }
|
| +
|
| ShapeCacheEntry* add(const TextRun& run, ShapeCacheEntry entry)
|
| {
|
| if (static_cast<unsigned>(run.length()) > SmallStringKey::capacity())
|
|
|