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

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: fixed assert 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 96b99e675b0279d5537323bca2cfed4f9ee66c95..b6b46430070562cb27561f23d93acbab22654854 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(),
« no previous file with comments | « chrome/browser/resources/options/hotword_confirm_dialog.js ('k') | chrome/browser/resources/options/password_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698