[not part of the build] Added code to update the entry's data size as data is streamed
to the memory cache. git-svn-id: svn://10.0.0.236/trunk@88265 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -129,7 +129,10 @@ nsMemoryCacheDevice::GetTransportForEntry( nsCacheEntry * entry,
|
||||
if (!*transport)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
NS_ADDREF(*transport);
|
||||
return entry->SetData(*transport);
|
||||
rv = entry->SetData(*transport);
|
||||
if (NS_SUCCEEDED(rv))
|
||||
NS_STATIC_CAST(nsMemoryCacheTransport *, *transport)->SetCacheEntry(entry);
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user