| Index: third_party/WebKit/Source/core/fetch/Resource.h
|
| diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
|
| index 70428fc06439fa2947416d13f9a3cb08b2b4ef80..05257c06966cb47f1a74bca94cf7d510051eda73 100644
|
| --- a/third_party/WebKit/Source/core/fetch/Resource.h
|
| +++ b/third_party/WebKit/Source/core/fetch/Resource.h
|
| @@ -215,9 +215,8 @@ public:
|
| void setDataBufferingPolicy(DataBufferingPolicy);
|
|
|
| bool isUnusedPreload() const { return isPreloaded() && getPreloadResult() == PreloadNotReferenced; }
|
| - bool isPreloaded() const { return m_preloadCount; }
|
| - void increasePreloadCount() { ++m_preloadCount; }
|
| - void decreasePreloadCount() { ASSERT(m_preloadCount); --m_preloadCount; }
|
| + bool isPreloaded() const { return m_isPreloaded; }
|
| + void setIsPreloaded(bool isPreloaded) { m_isPreloaded = isPreloaded; }
|
|
|
| bool canReuseRedirectChain();
|
| bool mustRevalidateDueToCacheHeaders();
|
| @@ -346,7 +345,7 @@ private:
|
| // and thus potential bugs. crbug.com/594644
|
| const size_t m_overheadSize;
|
|
|
| - unsigned m_preloadCount;
|
| + bool m_isPreloaded;
|
|
|
| double m_preloadDiscoveryTime;
|
|
|
|
|