Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 0738496bfc2a5ce97414bf885c594f7055105be4..b67b6656da1b443e872d220f866f8f4ab197ad1a 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -208,6 +208,7 @@ |
#include "storage/browser/fileapi/external_mount_points.h" |
#include "third_party/WebKit/public/platform/modules/installedapp/installed_app_provider.mojom.h" |
#include "third_party/WebKit/public/platform/modules/webshare/webshare.mojom.h" |
+#include "third_party/WebKit/public/web/WebDataSaverFlag.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/resources/grit/ui_resources.h" |
@@ -2707,7 +2708,9 @@ void ChromeContentBrowserClient::OverrideWebkitPrefs( |
web_prefs->strict_powerful_feature_restrictions = true; |
} |
- web_prefs->data_saver_enabled = GetDataSaverEnabledPref(prefs); |
+ web_prefs->data_saver_flag = GetDataSaverEnabledPref(prefs) |
+ ? blink::WebDataSaverFlag::kEnabled |
+ : blink::WebDataSaverFlag::kDisabled; |
kinuko
2017/05/18 03:48:21
Ah sorry- I hadn't realized this change would prop
horo
2017/05/18 05:08:27
Are you saying "inconsistent"?
I can rename Chrome
|
#if defined(OS_ANDROID) |
content::WebContents* contents = |