| Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| index 6d117db8fe981bf5b26411c1fcd3c4e6bfcf0b7a..01200db5e9f1bd3fe00bbb1e19c5e5756d668d1f 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| @@ -289,13 +289,10 @@ WebCachePolicy determineFrameWebCachePolicy(Frame* frame,
|
| }
|
|
|
| // Respects BypassingCache rather than parent's policy.
|
| - // TODO(toyoshim): Adopt BypassingCache even for MainResource.
|
| FrameLoadType loadType =
|
| toLocalFrame(frame)->loader().documentLoader()->loadType();
|
| - if (resourceType == ResourceType::kIsNotMainResource &&
|
| - loadType == FrameLoadTypeReloadBypassingCache) {
|
| + if (loadType == FrameLoadTypeReloadBypassingCache)
|
| return WebCachePolicy::BypassingCache;
|
| - }
|
|
|
| // Respects parent's policy if it has a special one.
|
| WebCachePolicy parentPolicy =
|
|
|