Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2362)

Unified Diff: chrome/browser/resources/settings/settings_ui/settings_ui.js

Issue 2158713002: MD Settings: actually compile settings_ui.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on 2155063003 Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/settings/settings_ui/compiled_resources2.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_ui/settings_ui.js
diff --git a/chrome/browser/resources/settings/settings_ui/settings_ui.js b/chrome/browser/resources/settings/settings_ui/settings_ui.js
index f4eef891c3fb357f16f964d2680f60f4890b2b26..c1564f5d46287c85e304e4374988294e904e2e19 100644
--- a/chrome/browser/resources/settings/settings_ui/settings_ui.js
+++ b/chrome/browser/resources/settings/settings_ui/settings_ui.js
@@ -16,7 +16,6 @@ Polymer({
properties: {
/**
* Preferences state.
- * @type {?CrSettingsPrefsElement}
*/
prefs: Object,
@@ -26,10 +25,12 @@ Polymer({
type: Object,
},
+ /** @private */
appealClosed_: {
type: Boolean,
value: function() {
- return !!(sessionStorage.appealClosed_ || localStorage.appealClosed_);
+ return !!(window.sessionStorage.appealClosed_ ||
+ window.localStorage.appealClosed_);
},
},
@@ -61,7 +62,7 @@ Polymer({
/** @private */
onCloseAppealTap_: function() {
- sessionStorage.appealClosed_ = this.appealClosed_ = true;
+ window.sessionStorage.appealClosed_ = this.appealClosed_ = true;
},
/**
« no previous file with comments | « chrome/browser/resources/settings/settings_ui/compiled_resources2.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698