| 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 aa92d4971d607147a487ba97a7f4ab91edff19e4..c55449b8e1f7e9a4170eca96b54986933f4ad959 100644
|
| --- a/third_party/WebKit/Source/core/fetch/FontResource.h
|
| +++ b/third_party/WebKit/Source/core/fetch/FontResource.h
|
| @@ -53,9 +53,8 @@ public:
|
|
|
| void allClientsRemoved() override;
|
| void beginLoadIfNeeded(ResourceFetcher* dl);
|
| - bool stillNeedsLoad() const override { return m_state < LoadInitiated; }
|
|
|
| - bool loadScheduled() const { return m_state != Unloaded; }
|
| + bool loadScheduled() const { return getStatus() == LoadStartScheduled; }
|
| void didScheduleLoad();
|
| void didUnscheduleLoad();
|
|
|
| @@ -86,11 +85,11 @@ private:
|
| void fontLoadShortLimitCallback(Timer<FontResource>*);
|
| void fontLoadLongLimitCallback(Timer<FontResource>*);
|
|
|
| - enum State { Unloaded, LoadScheduled, LoadInitiated, ShortLimitExceeded, LongLimitExceeded };
|
| + enum LoadLimitState { UnderLimit, ShortLimitExceeded, LongLimitExceeded };
|
|
|
| OwnPtr<FontCustomPlatformData> m_fontData;
|
| String m_otsParsingMessage;
|
| - State m_state;
|
| + LoadLimitState m_loadLimitState;
|
| bool m_corsFailed;
|
| Timer<FontResource> m_fontLoadShortLimitTimer;
|
| Timer<FontResource> m_fontLoadLongLimitTimer;
|
|
|