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 28e92f6497b9a63c1abb065165322d8af81f7673..2b5f830f7b8785caa508ab7f4d100dc9fc21f81c 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
@@ -224,7 +224,8 @@ void FrameFetchContext::AddAdditionalRequestHeaders(ResourceRequest& request, |
request.ClearHTTPHeaderField("Save-Data"); |
if (GetFrame()->GetSettings() && |
- GetFrame()->GetSettings()->GetDataSaverEnabled()) |
+ GetFrame()->GetSettings()->GetDataSaverFlag() == |
+ WebDataSaverFlag::kEnabled) |
request.SetHTTPHeaderField("Save-Data", "on"); |
} |