Index: tracing/tracing/base/math/rect.html |
diff --git a/tracing/tracing/base/math/rect.html b/tracing/tracing/base/math/rect.html |
index a89d9b9262e650e984f415f8fec524bdbbbe8164..e7e360f3cc27a3d840b5360ab1b10a96de0e240b 100644 |
--- a/tracing/tracing/base/math/rect.html |
+++ b/tracing/tracing/base/math/rect.html |
@@ -31,8 +31,9 @@ tr.exportTo('tr.b.math', function() { |
}; |
Rect.fromArray = function(ary) { |
- if (ary.length !== 4) |
+ if (ary.length !== 4) { |
throw new Error('ary.length must be 4'); |
+ } |
var rect = new Rect(); |
rect.x = ary[0]; |
rect.y = ary[1]; |