Index: third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp |
index 354b9f9c1d98a4a3e2c9668a0865edb6c7e741fc..12a0d7020b580cb53dc687d2fac198e5f261e537 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp |
@@ -18,6 +18,7 @@ |
#include "core/inspector/InspectorCSSAgent.h" |
#include "core/inspector/InspectorPageAgent.h" |
#include "core/page/Page.h" |
+#include "public/platform/WebCachePolicy.h" |
#include "public/platform/WebURLRequest.h" |
namespace blink { |
@@ -102,11 +103,10 @@ void InspectorResourceContentLoader::start() |
ResourceRequest resourceRequest; |
HistoryItem* item = document->frame() ? document->frame()->loader().currentItem() : nullptr; |
if (item) { |
- resourceRequest = |
- FrameLoader::resourceRequestFromHistoryItem(item, ReturnCacheDataDontLoad); |
+ resourceRequest = FrameLoader::resourceRequestFromHistoryItem(item, WebCachePolicy::ReturnCacheDataDontLoad); |
} else { |
resourceRequest = document->url(); |
- resourceRequest.setCachePolicy(ReturnCacheDataDontLoad); |
+ resourceRequest.setCachePolicy(WebCachePolicy::ReturnCacheDataDontLoad); |
} |
resourceRequest.setRequestContext(WebURLRequest::RequestContextInternal); |