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

Unified Diff: tracing/tracing/ui/extras/highlighter/vsync_highlighter.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
Index: tracing/tracing/ui/extras/highlighter/vsync_highlighter.html
diff --git a/tracing/tracing/ui/extras/highlighter/vsync_highlighter.html b/tracing/tracing/ui/extras/highlighter/vsync_highlighter.html
index b804717a76a099a075dd12407ca2efb3b91fe409..a36021dd7b3eaed712e867d628b9acf1c23733f9 100644
--- a/tracing/tracing/ui/extras/highlighter/vsync_highlighter.html
+++ b/tracing/tracing/ui/extras/highlighter/vsync_highlighter.html
@@ -5,9 +5,9 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
-<link rel="import" href="/tracing/ui/tracks/highlighter.html">
<link rel="import" href="/tracing/ui/timeline_track_view.html">
<link rel="import" href="/tracing/ui/timeline_viewport.html">
+<link rel="import" href="/tracing/ui/tracks/highlighter.html">
<link rel="import" href="/tracing/ui/tracks/model_track.html">
<script>
@@ -81,7 +81,7 @@ tr.exportTo('tr.ui.e.highlighter', function() {
var stripes = VSyncHighlighter.generateStripes(
this.times_, viewLWorld, viewRWorld);
- if (stripes.length == 0) {
+ if (stripes.length === 0) {
return;
}
@@ -93,7 +93,7 @@ tr.exportTo('tr.ui.e.highlighter', function() {
var opacity =
(VSyncHighlighter.VSYNC_DENSITY_TRANSPARENT - clampedStripeDensity) /
VSyncHighlighter.VSYNC_DENSITY_RANGE;
- if (opacity == 0) {
+ if (opacity === 0) {
return;
}
« no previous file with comments | « tracing/tracing/ui/extras/drive/index.html ('k') | tracing/tracing/ui/extras/side_panel/alerts_side_panel.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698