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

Unified Diff: remoting/webapp/crd/js/butter_bar.js

Issue 803653004: Update Chromoting to use /third_party/closure_compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused types Created 5 years, 11 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: remoting/webapp/crd/js/butter_bar.js
diff --git a/remoting/webapp/crd/js/butter_bar.js b/remoting/webapp/crd/js/butter_bar.js
index a999b94fa510946d100cbf8a60745d15542325a7..2aa186a8ea903da4cb4645d75d0b57d008c9fc48 100644
--- a/remoting/webapp/crd/js/butter_bar.js
+++ b/remoting/webapp/crd/js/butter_bar.js
@@ -51,7 +51,7 @@ remoting.ButterBar.prototype.show_ =
var messageElement = document.getElementById(remoting.ButterBar.kMessageId_);
l10n.localizeElementFromTag(messageElement, messageId, substitutions, true);
var acceptLink =
- /** @type{Element} */ messageElement.getElementsByTagName('a')[0];
+ /** @type{Element} */ (messageElement.getElementsByTagName('a')[0]);
acceptLink.addEventListener(
'click', this.dismiss.bind(this, true), false);

Powered by Google App Engine
This is Rietveld 408576698