Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / options / chromeos / third_party_ime_confirm_overlay.js
index 9d31217..1f2d6c3 100644 (file)
@@ -9,15 +9,17 @@ cr.define('options', function() {
   /**
    * HomePageOverlay class
    * Dialog that allows users to set the home page.
-   * @extends {SettingsDialog}
+   * @constructor
+   * @extends {options.SettingsDialog}
    */
   function ThirdPartyImeConfirmOverlay() {
     SettingsDialog.call(
         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);