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

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

Issue 570503002: Compile chrome://settings, part 6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@H_options_errors_4
Patch Set: fix asserts, rebase 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/chromeos/third_party_ime_confirm_overlay.js
diff --git a/chrome/browser/resources/options/chromeos/third_party_ime_confirm_overlay.js b/chrome/browser/resources/options/chromeos/third_party_ime_confirm_overlay.js
index 7b8aac549c15a0a67f212b37396669a6f5b1985b..1f2d6c3eaf4ff69cf58be881b2a89b712a01b96f 100644
--- a/chrome/browser/resources/options/chromeos/third_party_ime_confirm_overlay.js
+++ b/chrome/browser/resources/options/chromeos/third_party_ime_confirm_overlay.js
@@ -17,8 +17,9 @@ cr.define('options', function() {
this, 'thirdPartyImeConfirm',
loadTimeData.getString('thirdPartyImeConfirmOverlayTabTitle'),
'third-party-ime-confirm-overlay',
- $('third-party-ime-confirm-ok'),
- $('third-party-ime-confirm-cancel'));
+ assertInstanceof($('third-party-ime-confirm-ok'), HTMLButtonElement),
+ assertInstanceof($('third-party-ime-confirm-cancel'),
+ HTMLButtonElement));
}
cr.addSingletonGetter(ThirdPartyImeConfirmOverlay);

Powered by Google App Engine
This is Rietveld 408576698