fix for bug #380741: Crash with about:cache and clear privacy data [@nsCOMPtr::StartAssignment]fall out from bug #380704: compile error [@nsOfflineCacheDevice::Init]fix by dcamp@mozilla.com, r/sr=biesi

This commit is contained in:
sspitzer@mozilla.org 2007-05-17 11:33:19 -07:00
parent 63683ac1fe
commit 8f70e570a0

View File

@ -769,7 +769,7 @@ nsOfflineCacheDevice::Init()
struct StatementSql {
nsCOMPtr<mozIStorageStatement> &statement;
const char *sql;
StatementSql (nsCOMPtr<mozIStorageStatement> aStatement, const char *aSql):
StatementSql (nsCOMPtr<mozIStorageStatement> &aStatement, const char *aSql):
statement (aStatement), sql (aSql) {};
} prepared[] = {
StatementSql ( mStatement_CacheSize, "SELECT Sum(DataSize) from moz_cache;" ),