Index: Source/web/WebFrameImpl.cpp |
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp |
index a1e3885e53d6abae1546e2c726619178435497f7..b66906f685bc54b531a34c4ef3ff59be415465ef 100644 |
--- a/Source/web/WebFrameImpl.cpp |
+++ b/Source/web/WebFrameImpl.cpp |
@@ -939,12 +939,12 @@ void WebFrameImpl::loadRequest(const WebURLRequest& request) |
frame()->loader().load(FrameLoadRequest(0, resourceRequest)); |
} |
-void WebFrameImpl::loadHistoryItem(const WebHistoryItem& item) |
+void WebFrameImpl::loadHistoryItem(const WebHistoryItem& item, WebURLRequest::CachePolicy cachePolicy) |
{ |
ASSERT(frame()); |
RefPtr<HistoryItem> historyItem = PassRefPtr<HistoryItem>(item); |
ASSERT(historyItem); |
- frame()->page()->historyController().goToItem(historyItem.get()); |
+ frame()->page()->historyController().goToItem(historyItem.get(), static_cast<ResourceRequestCachePolicy>(cachePolicy)); |
} |
void WebFrameImpl::loadData(const WebData& data, const WebString& mimeType, const WebString& textEncoding, const WebURL& baseURL, const WebURL& unreachableURL, bool replace) |