+2006-11-29 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Tim.
+
+ Add back methods in WebCoreStatistics that are still used by Tiger Safari.
+
+ * Misc/WebCoreStatistics.h:
+ * Misc/WebCoreStatistics.m:
+ (+[WebCoreStatistics emptyCache]):
+ (+[WebCoreStatistics setCacheDisabled:]):
+
2006-11-28 Alice Liu <alice.liu@apple.com>
Reviewed by Maciej.
+ (void)garbageCollectJavaScriptObjects;
+ (void)garbageCollectJavaScriptObjectsOnAlternateThread:(BOOL)waitUntilDone;
+// These have been moved to WebCache but need to be around because they're needed by Tiger Safari.
++ (void)emptyCache;
++ (void)setCacheDisabled:(BOOL)disabled;
// deprecated
+ (size_t)javaScriptNoGCAllowedObjectsCount;
[WebCoreJavaScript setShouldPrintExceptions:print];
}
++ (void)emptyCache
+{
+ [WebCache empty];
+}
+
++ (void)setCacheDisabled:(BOOL)disabled
+{
+ [WebCache setDisabled:disabled];
+}
+
@end
@implementation WebFrame (WebKitDebug)
children = (
5241ADF30B1BC48A004012BD /* WebCache.h */,
5241ADF40B1BC48A004012BD /* WebCache.mm */,
+ F59EAE3E0253C7EE018635CA /* WebCoreStatistics.h */,
+ F59EAE410253C8DE018635CA /* WebCoreStatistics.m */,
6578F5DE045F817400000128 /* WebDownload.h */,
6578F5DF045F817400000128 /* WebDownload.m */,
ABDDF20C08EB0DDC001E1241 /* WebDownloadInternal.h */,
F52CA6C002DF9D78018635CA /* Download */ = {
isa = PBXGroup;
children = (
- F59EAE3E0253C7EE018635CA /* WebCoreStatistics.h */,
- F59EAE410253C8DE018635CA /* WebCoreStatistics.m */,
93AEB17D032C1735008635CE /* WebKitLogging.h */,
93AEB17E032C1735008635CE /* WebKitLogging.m */,
F53444CE02E87CBA018635CA /* WebKitStatistics.h */,