Chromium Code Reviews| Index: Source/core/fetch/FontResource.h |
| diff --git a/Source/core/fetch/FontResource.h b/Source/core/fetch/FontResource.h |
| index 103961117ced5f5435871e9f5374bcc924cf1745..439f98a476af11a4faea8774e75980eae6e06b64 100644 |
| --- a/Source/core/fetch/FontResource.h |
| +++ b/Source/core/fetch/FontResource.h |
| @@ -58,6 +58,9 @@ public: |
| virtual bool stillNeedsLoad() const OVERRIDE { return !m_loadInitiated; } |
| bool exceedsFontLoadWaitLimit() const { return m_exceedsFontLoadWaitLimit; } |
| + bool loadScheduled() const { return m_loadScheduled; } |
| + void setLoadScheduled(bool loadScheduled) { m_loadScheduled = loadScheduled; } |
| + |
| void setCORSFailed() { m_corsFailed = true; } |
| bool isCORSFailed() const { return m_corsFailed; } |
| @@ -77,6 +80,7 @@ private: |
| void fontLoadWaitLimitCallback(Timer<FontResource>*); |
| OwnPtr<FontCustomPlatformData> m_fontData; |
| + bool m_loadScheduled; |
|
Nate Chapin
2014/08/14 17:33:06
Should m_loadScheduled and m_loadInitiated be merg
Kunihiko Sakamoto
2014/08/15 01:30:23
Done.
|
| bool m_loadInitiated; |
| bool m_exceedsFontLoadWaitLimit; |
| bool m_corsFailed; |