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

Unified Diff: tracing/tracing/ui/tracks/drawing_container.html

Issue 2390373003: Change all == to === and != to !== in trace viewer. (Closed)
Patch Set: 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
Index: tracing/tracing/ui/tracks/drawing_container.html
diff --git a/tracing/tracing/ui/tracks/drawing_container.html b/tracing/tracing/ui/tracks/drawing_container.html
index e3937671b8be0b47f9ee374e9c369715e00d0dee..56014ac31a0a01b7e3ae2fb8db65f720e0d523ee 100644
--- a/tracing/tracing/ui/tracks/drawing_container.html
+++ b/tracing/tracing/ui/tracks/drawing_container.html
@@ -128,12 +128,12 @@ tr.exportTo('tr.ui.tracks', function() {
var innerHeight = lastChildTrackBounds.bottom - firstChildTrackBounds.top;
var pixelRatio = window.devicePixelRatio || 1;
- if (this.canvas_.width != innerWidth * pixelRatio) {
+ if (this.canvas_.width !== innerWidth * pixelRatio) {
this.canvas_.width = innerWidth * pixelRatio;
this.canvas_.style.width = innerWidth + 'px';
}
- if (this.canvas_.height != innerHeight * pixelRatio) {
+ if (this.canvas_.height !== innerHeight * pixelRatio) {
this.canvas_.height = innerHeight * pixelRatio;
this.canvas_.style.height = innerHeight + 'px';
}

Powered by Google App Engine
This is Rietveld 408576698