diff options
Diffstat (limited to 'WebCore/history/PageCache.cpp')
-rw-r--r-- | WebCore/history/PageCache.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/history/PageCache.cpp b/WebCore/history/PageCache.cpp index 30c3b42..7375a9c 100644 --- a/WebCore/history/PageCache.cpp +++ b/WebCore/history/PageCache.cpp @@ -27,8 +27,8 @@ #include "PageCache.h" #include "ApplicationCacheHost.h" -#include "BackForwardList.h" -#include "Cache.h" +#include "BackForwardController.h" +#include "MemoryCache.h" #include "CachedPage.h" #include "DOMWindow.h" #include "DeviceMotionController.h" @@ -192,7 +192,7 @@ static void logCanCachePageDecision(Page* page) bool cannotCache = !logCanCacheFrameDecision(page->mainFrame(), 1); FrameLoadType loadType = page->mainFrame()->loader()->loadType(); - if (!page->backForwardList()->isActive()) { + if (!page->backForward()->isActive()) { PCLOG(" -The back/forward list is disabled or has 0 capacity"); cannotCache = true; } @@ -303,7 +303,7 @@ bool PageCache::canCache(Page* page) FrameLoadType loadType = page->mainFrame()->loader()->loadType(); return canCachePageContainingThisFrame(page->mainFrame()) - && page->backForwardList()->isActive() + && page->backForward()->isActive() && page->settings()->usesPageCache() #if ENABLE(DEVICE_ORIENTATION) && !(page->deviceMotionController() && page->deviceMotionController()->isActive()) |