| 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 90c43ba1c4115c99d95cb79f505c390d0ba707da..c215c648a9396cac3b4217ad1145f8ba95bd03f3 100644
|
| --- a/chrome/browser/resources/settings/privacy_page/privacy_page.js
|
| +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
|
| @@ -118,7 +118,8 @@ Polymer({
|
| setMetricsReporting_: function(metricsReporting) {
|
| if (this.metricsReporting_) {
|
| // TODO(dbeam): hide if changed back to the value Chrome started with.
|
| - this.showRestart_ = true;
|
| + var changed = this.metricsReporting_.enabled != metricsReporting.enabled;
|
| + this.showRestart_ = changed && !this.metricsReporting_.managed;
|
| }
|
| this.metricsReporting_ = metricsReporting;
|
| },
|
|
|