| 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 afdd7b4a2c66209cbf987691dffaf01574ae09d4..cebcccf9ef21ed909edd9e4dce7c233ab9094c81 100644
|
| --- a/chrome/browser/resources/settings/privacy_page/privacy_page.js
|
| +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
|
| @@ -38,17 +38,6 @@ Polymer({
|
| this.ContentSettingsTypes = settings.ContentSettingsTypes;
|
| },
|
|
|
| - /** @suppress {missingProperties} */
|
| - attached: function() {
|
| - settings.main.rendered.then(function() {
|
| - if (this.showClearBrowsingDataDialog_) {
|
| - var dialog = this.$$('settings-clear-browsing-data-dialog').$.dialog;
|
| - // TODO(dbeam): cast to a CrDialogElement when it compiles.
|
| - dialog.refit();
|
| - }
|
| - }.bind(this));
|
| - },
|
| -
|
| /**
|
| * @return {boolean} Whether the Clear Browsing Data dialog should be showing.
|
| * @private
|
| @@ -90,10 +79,7 @@ Polymer({
|
| * @param {!Event} event
|
| * @private
|
| */
|
| - onIronOverlayClosed_: function(event) {
|
| - if (Polymer.dom(event).rootTarget.tagName != 'CR-DIALOG')
|
| - return;
|
| -
|
| + onDialogClosed_: function(event) {
|
| this.currentRoute = {
|
| page: 'advanced',
|
| section: 'privacy',
|
|
|