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

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

Issue 909883002: Fix closure compililation error in Files.app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | 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 7f0b3c8ddc809a8ae01472d3be261261cfab9ebe..2c8a47189561e2c1ab4dd8aeb093044ca3701fc4 100644
--- a/ui/file_manager/file_manager/foreground/js/toolbar_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/toolbar_controller.js
@@ -95,6 +95,7 @@ ToolbarController.prototype.onCancelSelectionButtonClicked_ = function() {
*/
ToolbarController.prototype.onNavigationListRelayout_ = function() {
// Make the width of spacer same as the width of navigation list.
- var navWidth = parseFloat(getComputedStyle(this.navigationList_).width);
+ var navWidth = parseFloat(
+ window.getComputedStyle(this.navigationList_).width);
this.cancelSelectionButtonWrapper_.style.width = navWidth + 'px';
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698