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

Unified Diff: ui/webui/resources/js/cr/ui/tree.js

Issue 2786793002: Roll closure compiler (Closed)
Patch Set: Rerun with java 1.7 Created 3 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/webui/resources/js/cr/ui/context_menu_handler.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/cr/ui/tree.js
diff --git a/ui/webui/resources/js/cr/ui/tree.js b/ui/webui/resources/js/cr/ui/tree.js
index 53d6da518c853db6accb31035ec83f69b33af94f..89940b6b66ae8b83345459de306048b09def0769 100644
--- a/ui/webui/resources/js/cr/ui/tree.js
+++ b/ui/webui/resources/js/cr/ui/tree.js
@@ -19,7 +19,7 @@ cr.define('cr.ui', function() {
* @return {!CSSStyleDeclaration} The computed style.
*/
function getComputedStyle(el) {
- return el.ownerDocument.defaultView.getComputedStyle(el);
+ return assert(el.ownerDocument.defaultView.getComputedStyle(el));
}
/**
« no previous file with comments | « ui/webui/resources/js/cr/ui/context_menu_handler.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698