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

Unified Diff: ui/file_manager/file_manager/foreground/js/toolbar_controller.js

Issue 984963003: Fix closure compile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/file_manager.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/toolbar_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/toolbar_controller.js b/ui/file_manager/file_manager/foreground/js/toolbar_controller.js
index b64bf6aa697108f3008c601b7a3f8a86d598c73b..069d48364cb4d798acd6761dc61d30dd08e3031f 100644
--- a/ui/file_manager/file_manager/foreground/js/toolbar_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/toolbar_controller.js
@@ -104,7 +104,8 @@ function ToolbarController(toolbar,
var toolbarButtons =
this.toolbar_.querySelectorAll('.icon-button, .combobutton');
for (var i = 0; i < toolbarButtons.length; i++) {
- observer.observe(toolbarButtons[i], {attributes: true});
+ observer.observe(toolbarButtons[i],
+ /** @type MutationObserverInit */({attributes: true}));
}
}
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/file_manager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698