diff options
Diffstat (limited to 'chromium/third_party/catapult/tracing/tracing/model/location.html')
-rw-r--r-- | chromium/third_party/catapult/tracing/tracing/model/location.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/catapult/tracing/tracing/model/location.html b/chromium/third_party/catapult/tracing/tracing/model/location.html index 11d31eef7e4..8654157172d 100644 --- a/chromium/third_party/catapult/tracing/tracing/model/location.html +++ b/chromium/third_party/catapult/tracing/tracing/model/location.html @@ -41,7 +41,7 @@ tr.exportTo('tr.model', function() { function Location(xWorld, yComponents) { this.xWorld_ = xWorld; this.yComponents_ = yComponents; - }; + } /** * Returns a new Location given by x and y coordinates with respect to @@ -69,7 +69,7 @@ tr.exportTo('tr.model', function() { elem = elem.parentElement; } - if (yComponents.length == 0) + if (yComponents.length === 0) return; return new Location(xWorld, yComponents); } @@ -96,7 +96,7 @@ tr.exportTo('tr.model', function() { elem = elem.parentElement; } - if (yComponents.length == 0) + if (yComponents.length === 0) return; return new Location(xWorld, yComponents); } |