summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/mac/WebCoreSupport/WebApplicationCache.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/mac/WebCoreSupport/WebApplicationCache.mm')
-rw-r--r--Source/WebKit/mac/WebCoreSupport/WebApplicationCache.mm5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/WebKit/mac/WebCoreSupport/WebApplicationCache.mm b/Source/WebKit/mac/WebCoreSupport/WebApplicationCache.mm
index 45f0703..bf517c1 100644
--- a/Source/WebKit/mac/WebCoreSupport/WebApplicationCache.mm
+++ b/Source/WebKit/mac/WebCoreSupport/WebApplicationCache.mm
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 Apple Inc. All Rights Reserved.
+ * Copyright (C) 2009, 2011 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -55,8 +55,7 @@ using namespace WebCore;
+ (void)deleteAllApplicationCaches
{
- cacheStorage().empty();
- cacheStorage().vacuumDatabaseFile();
+ cacheStorage().deleteAllEntries();
}
@end