| Index: Source/core/fetch/Resource.cpp
|
| diff --git a/Source/core/fetch/Resource.cpp b/Source/core/fetch/Resource.cpp
|
| index f3b012accf95a01623c8063ebe69c6da4ce93f57..878e2efb0de2bea55db19e8f3de2fcc9b86f9183 100644
|
| --- a/Source/core/fetch/Resource.cpp
|
| +++ b/Source/core/fetch/Resource.cpp
|
| @@ -363,7 +363,7 @@ CachedMetadata* Resource::cachedMetadata(unsigned dataTypeID) const
|
|
|
| void Resource::setCacheLiveResourcePriority(CacheLiveResourcePriority priority)
|
| {
|
| - if (inCache() && m_inLiveDecodedResourcesList && m_cacheLiveResourcePriority != priority) {
|
| + if (inCache() && m_inLiveDecodedResourcesList && cacheLiveResourcePriority() != static_cast<unsigned>(priority)) {
|
| memoryCache()->removeFromLiveDecodedResourcesList(this);
|
| m_cacheLiveResourcePriority = priority;
|
| memoryCache()->insertInLiveDecodedResourcesList(this);
|
|
|