mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
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:
parent
63683ac1fe
commit
8f70e570a0
2
netwerk/cache/src/nsDiskCacheDeviceSQL.cpp
vendored
2
netwerk/cache/src/nsDiskCacheDeviceSQL.cpp
vendored
@ -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;" ),
|
||||
|
Loading…
Reference in New Issue
Block a user