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)); |
} |
/** |