diff --git a/image/imgLoader.cpp b/image/imgLoader.cpp index a7ffa96500a7c..1669c26184c0f 100644 --- a/image/imgLoader.cpp +++ b/image/imgLoader.cpp @@ -2201,14 +2201,17 @@ imgLoader::LoadImage(nsIURI* aURI, if (mCacheTracker) { if (MOZ_UNLIKELY(!entry->GetExpirationState()->IsTracked())) { bool inCache = false; + bool cacheHasEntry = false; RefPtr e; if (cache.Get(key, getter_AddRefs(e)) && e) { + cacheHasEntry = true; inCache = (e == entry); } gfxCriticalNoteOnce << "entry with no proxies is no in tracker " << "request->HasConsumers() " << (request->HasConsumers() ? "true" : "false") - << " inCache " << (inCache ? "true" : "false"); + << " inCache " << (inCache ? "true" : "false") + << " cacheHasEntry " << (cacheHasEntry ? "true" : "false"); } mCacheTracker->MarkUsed(entry);