Index: third_party/WebKit/Source/core/fetch/FontResource.h |
diff --git a/third_party/WebKit/Source/core/fetch/FontResource.h b/third_party/WebKit/Source/core/fetch/FontResource.h |
index 6b8eb95aae983ce659ba37c7f5cc144fe7f42fb7..ce8fa83bb051f6ea149a913ccd01e6e9b24f3f0b 100644 |
--- a/third_party/WebKit/Source/core/fetch/FontResource.h |
+++ b/third_party/WebKit/Source/core/fetch/FontResource.h |
@@ -62,9 +62,6 @@ public: |
bool ensureCustomFontData(); |
FontPlatformData platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation = FontOrientation::Horizontal); |
-protected: |
- bool isSafeToUnlock() const override; |
- |
private: |
class FontResourceFactory : public ResourceFactory { |
public: |
@@ -82,6 +79,8 @@ private: |
void fontLoadShortLimitCallback(Timer<FontResource>*); |
void fontLoadLongLimitCallback(Timer<FontResource>*); |
+ bool isSafeToUnlock() const override; |
+ |
enum LoadLimitState { UnderLimit, ShortLimitExceeded, LongLimitExceeded }; |
std::unique_ptr<FontCustomPlatformData> m_fontData; |