| Index: Source/WebCore/loader/cache/CachedResource.cpp
|
| diff --git a/Source/WebCore/loader/cache/CachedResource.cpp b/Source/WebCore/loader/cache/CachedResource.cpp
|
| index dd6772dae78f375c556e55841577adc064276be1..b5f3461ba0c9801b5236a8f4ef293469e234c030 100644
|
| --- a/Source/WebCore/loader/cache/CachedResource.cpp
|
| +++ b/Source/WebCore/loader/cache/CachedResource.cpp
|
| @@ -262,7 +262,7 @@ CachedResource::~CachedResource()
|
| void CachedResource::failBeforeStarting()
|
| {
|
| // FIXME: What if resources in other frames were waiting for this revalidation?
|
| - LOG(ResourceLoading, "Cannot start loading '%s'", url().string().latin1().data());
|
| + LOG_INFO(ResourceLoading, "Cannot start loading '%s'", url().string().latin1().data());
|
| if (m_resourceToRevalidate)
|
| memoryCache()->revalidationFailed(this);
|
| error(CachedResource::LoadError);
|
| @@ -697,7 +697,7 @@ void CachedResource::setResourceToRevalidate(CachedResource* resource)
|
| ASSERT(m_handlesToRevalidate.isEmpty());
|
| ASSERT(resource->type() == type());
|
|
|
| - LOG(ResourceLoading, "CachedResource %p setResourceToRevalidate %p", this, resource);
|
| + LOG_INFO(ResourceLoading, "CachedResource %p setResourceToRevalidate %p", this, resource);
|
|
|
| // The following assert should be investigated whenever it occurs. Although it should never fire, it currently does in rare circumstances.
|
| // https://bugs.webkit.org/show_bug.cgi?id=28604.
|
| @@ -730,7 +730,7 @@ void CachedResource::switchClientsToRevalidatedResource()
|
| ASSERT(m_resourceToRevalidate->inCache());
|
| ASSERT(!inCache());
|
|
|
| - LOG(ResourceLoading, "CachedResource %p switchClientsToRevalidatedResource %p", this, m_resourceToRevalidate);
|
| + LOG_INFO(ResourceLoading, "CachedResource %p switchClientsToRevalidatedResource %p", this, m_resourceToRevalidate);
|
|
|
| m_switchingClientsToRevalidatedResource = true;
|
| HashSet<CachedResourceHandleBase*>::iterator end = m_handlesToRevalidate.end();
|
| @@ -829,13 +829,13 @@ bool CachedResource::mustRevalidateDueToCacheHeaders(CachePolicy cachePolicy) co
|
| return true;
|
|
|
| if (m_response.cacheControlContainsNoCache() || m_response.cacheControlContainsNoStore()) {
|
| - LOG(ResourceLoading, "CachedResource %p mustRevalidate because of m_response.cacheControlContainsNoCache() || m_response.cacheControlContainsNoStore()\n", this);
|
| + LOG_INFO(ResourceLoading, "CachedResource %p mustRevalidate because of m_response.cacheControlContainsNoCache() || m_response.cacheControlContainsNoStore()\n", this);
|
| return true;
|
| }
|
|
|
| if (cachePolicy == CachePolicyCache) {
|
| if (m_response.cacheControlContainsMustRevalidate() && isExpired()) {
|
| - LOG(ResourceLoading, "CachedResource %p mustRevalidate because of cachePolicy == CachePolicyCache and m_response.cacheControlContainsMustRevalidate() && isExpired()\n", this);
|
| + LOG_INFO(ResourceLoading, "CachedResource %p mustRevalidate because of cachePolicy == CachePolicyCache and m_response.cacheControlContainsMustRevalidate() && isExpired()\n", this);
|
| return true;
|
| }
|
| return false;
|
| @@ -843,7 +843,7 @@ bool CachedResource::mustRevalidateDueToCacheHeaders(CachePolicy cachePolicy) co
|
|
|
| // CachePolicyVerify
|
| if (isExpired()) {
|
| - LOG(ResourceLoading, "CachedResource %p mustRevalidate because of isExpired()\n", this);
|
| + LOG_INFO(ResourceLoading, "CachedResource %p mustRevalidate because of isExpired()\n", this);
|
| return true;
|
| }
|
|
|
|
|