Skip to content

Commit

Permalink
Bug 1342567. r=aosmond a=abillings
Browse files Browse the repository at this point in the history
  • Loading branch information
tnikkel committed Apr 21, 2017
1 parent 92a65a9 commit b97346e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion image/imgLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2201,14 +2201,17 @@ imgLoader::LoadImage(nsIURI* aURI,
if (mCacheTracker) {
if (MOZ_UNLIKELY(!entry->GetExpirationState()->IsTracked())) {
bool inCache = false;
bool cacheHasEntry = false;
RefPtr<imgCacheEntry> 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);
Expand Down

0 comments on commit b97346e

Please sign in to comment.