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

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

Issue 803653004: Update Chromoting to use /third_party/closure_compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/menu_button.js
diff --git a/remoting/webapp/crd/js/menu_button.js b/remoting/webapp/crd/js/menu_button.js
index ce09776114a9cd11e58f11df70fba6c45529a78f..7d593bad46425ca905e337406c0f648d54828d13 100644
--- a/remoting/webapp/crd/js/menu_button.js
+++ b/remoting/webapp/crd/js/menu_button.js
@@ -106,9 +106,9 @@ remoting.MenuButton.prototype.menu = function() {
*/
remoting.MenuButton.select = function(item, selected) {
if (selected) {
- /** @type {DOMTokenList} */(item.classList).add('selected');
+ item.classList.add('selected');
} else {
- /** @type {DOMTokenList} */(item.classList).remove('selected');
+ item.classList.remove('selected');
}
};

Powered by Google App Engine
This is Rietveld 408576698