Index: chrome/browser/resources/settings/privacy_page/privacy_page.js |
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.js b/chrome/browser/resources/settings/privacy_page/privacy_page.js |
index ae72e250ac670b7f265a5639371cb776c57d1ccd..faf61cdc338e509f348f629804af924de2084eba 100644 |
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.js |
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js |
@@ -113,9 +113,9 @@ Polymer({ |
// <if expr="_google_chrome and not chromeos"> |
/** @private */ |
- onMetricsReportingCheckboxTap_: function() { |
+ onMetricsReportingControlTap_: function() { |
var browserProxy = settings.PrivacyPageBrowserProxyImpl.getInstance(); |
- var enabled = this.$.metricsReportingCheckbox.checked; |
+ var enabled = this.$.metricsReportingControl.checked; |
browserProxy.setMetricsReportingEnabled(enabled); |
}, |
@@ -142,9 +142,9 @@ Polymer({ |
// </if> |
/** @private */ |
- onSafeBrowsingExtendedReportingCheckboxTap_: function() { |
+ onSafeBrowsingExtendedReportingControlTap_: function() { |
var browserProxy = settings.PrivacyPageBrowserProxyImpl.getInstance(); |
- var enabled = this.$.safeBrowsingExtendedReportingCheckbox.checked; |
+ var enabled = this.$.safeBrowsingExtendedReportingControl.checked; |
browserProxy.setSafeBrowsingExtendedReportingEnabled(enabled); |
}, |