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

Unified Diff: tracing/tracing/base/rect.html

Issue 2390373003: Change all == to === and != to !== in trace viewer. (Closed)
Patch Set: more changes from code review Created 4 years, 2 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 | « tracing/tracing/base/range_utils.html ('k') | tracing/tracing/base/running_statistics.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/rect.html
diff --git a/tracing/tracing/base/rect.html b/tracing/tracing/base/rect.html
index 75fcadf5f654aee389cbf27852b12beab6d5719d..3245a82f40c45fc45b872cd7f507e42b25aa3e18 100644
--- a/tracing/tracing/base/rect.html
+++ b/tracing/tracing/base/rect.html
@@ -20,7 +20,7 @@ tr.exportTo('tr.b', function() {
this.y = 0;
this.width = 0;
this.height = 0;
- };
+ }
Rect.fromXYWH = function(x, y, w, h) {
var rect = new Rect();
rect.x = x;
@@ -30,7 +30,7 @@ tr.exportTo('tr.b', function() {
return rect;
}
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];
« no previous file with comments | « tracing/tracing/base/range_utils.html ('k') | tracing/tracing/base/running_statistics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698