| 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 44656517c3313ba9c1847d535d3320a4396d4fd3..7ef18c2cfdb4e0f9d5eca192263aea0e13fe9104 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);
|
|
|
|
|