| 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 5f8ca3e28039e6fc019e2d530e25f246699ca152..a220868732fec69b444aa1d15f19949d1cacc7db 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| @@ -375,7 +375,8 @@ void FrameFetchContext::addAdditionalRequestHeaders(ResourceRequest& request,
|
| if (!request.url().isEmpty() && !request.url().protocolIsInHTTPFamily())
|
| return;
|
|
|
| - if (masterDocumentLoader()->loadType() == FrameLoadTypeReload)
|
| + // Reload should reflect the current data saver setting.
|
| + if (isReloadLoadType(masterDocumentLoader()->loadType()))
|
| request.clearHTTPHeaderField("Save-Data");
|
|
|
| if (frame()->settings() && frame()->settings()->getDataSaverEnabled())
|
|
|