Index: Source/WebCore/loader/cache/CachedResourceLoader.h |
=================================================================== |
--- Source/WebCore/loader/cache/CachedResourceLoader.h (revision 92202) |
+++ Source/WebCore/loader/cache/CachedResourceLoader.h (working copy) |
@@ -30,6 +30,7 @@ |
#include "CachedResourceHandle.h" |
#include "CachePolicy.h" |
#include "ResourceLoadPriority.h" |
+#include "Timer.h" |
#include <wtf/Deque.h> |
#include <wtf/HashMap.h> |
#include <wtf/HashSet.h> |
@@ -117,6 +118,7 @@ |
void notifyLoadedFromMemoryCache(CachedResource*); |
bool canRequest(CachedResource::Type, const KURL&, bool forPreload = false); |
+ void garbageCollectDocumentResourcesTimerFired(Timer<CachedResourceLoader>*); |
void performPostLoadActions(); |
HashSet<String> m_validatedURLs; |
@@ -133,6 +135,8 @@ |
}; |
Deque<PendingPreload> m_pendingPreloads; |
+ Timer<CachedResourceLoader> m_garbageCollectDocumentResourcesTimer; |
+ |
//29 bits left |
bool m_autoLoadImages : 1; |
bool m_loadFinishing : 1; |