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

Unified Diff: chrome/browser/resources/options/options.js

Issue 552883002: Compile chrome://settings, part 4: 149 proper errors left (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@H_options_errors_2
Patch Set: reannotate createItem() Created 6 years, 3 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
Index: chrome/browser/resources/options/options.js
diff --git a/chrome/browser/resources/options/options.js b/chrome/browser/resources/options/options.js
index 5c2bebb0edc33ada062c6a283b44e7299e1881b3..9e053a0eb1130774c5d65ce4ca56b99c734fd7ce 100644
--- a/chrome/browser/resources/options/options.js
+++ b/chrome/browser/resources/options/options.js
@@ -93,8 +93,8 @@ function load() {
'do-not-track-confirm-overlay',
/** @type {HTMLInputElement} */($('do-not-track-confirm-ok')),
/** @type {HTMLInputElement} */($('do-not-track-confirm-cancel')),
- $('do-not-track-enabled').pref,
- $('do-not-track-enabled').metric),
+ $('do-not-track-enabled')['pref'],
+ $('do-not-track-enabled')['metric']),
BrowserOptions.getInstance());
// 'spelling-enabled-control' element is only present on Chrome branded
// builds.
@@ -106,8 +106,8 @@ function load() {
'spelling-confirm-overlay',
/** @type {HTMLInputElement} */($('spelling-confirm-ok')),
/** @type {HTMLInputElement} */($('spelling-confirm-cancel')),
- $('spelling-enabled-control').pref,
- $('spelling-enabled-control').metric),
+ $('spelling-enabled-control')['pref'],
+ $('spelling-enabled-control')['metric']),
BrowserOptions.getInstance());
}
PageManager.registerOverlay(new HotwordConfirmDialog(),

Powered by Google App Engine
This is Rietveld 408576698