summaryrefslogtreecommitdiff
path: root/netwerk/cache/nsDiskCacheDeviceSQL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/cache/nsDiskCacheDeviceSQL.cpp')
-rw-r--r--netwerk/cache/nsDiskCacheDeviceSQL.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/netwerk/cache/nsDiskCacheDeviceSQL.cpp b/netwerk/cache/nsDiskCacheDeviceSQL.cpp
index 297c0f362a..85344a615e 100644
--- a/netwerk/cache/nsDiskCacheDeviceSQL.cpp
+++ b/netwerk/cache/nsDiskCacheDeviceSQL.cpp
@@ -287,7 +287,11 @@ nsOfflineCacheEvictionFunction::Apply()
for (int32_t i = 0; i < items.Count(); i++) {
if (MOZ_LOG_TEST(gCacheLog, LogLevel::Debug)) {
nsAutoCString path;
+#ifdef XP_WIN
+ items[i]->GetPersistentDescriptor(path);
+#else
items[i]->GetNativePath(path);
+#endif
LOG((" removing %s\n", path.get()));
}