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

Unified Diff: tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.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/chrome/cc/picture_ops_list_view.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.html b/tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.html
index 13f1e0f7e122488eb5d58b0ef0f649fb6ad69335..806a54c5c3095bf0b2bda1669eed17ce7c9f12cc 100644
--- a/tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.html
+++ b/tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.html
@@ -204,15 +204,15 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
elementInfo = {};
annotationGroup.forEach(function(annotation) {
annotation.info.forEach(function(info) {
- if (info.indexOf(ANNOTATION_TAG) != -1)
+ if (info.indexOf(ANNOTATION_TAG) !== -1)
elementInfo.tag = info.substring(
info.indexOf(ANNOTATION_TAG) +
ANNOTATION_TAG.length).toLowerCase();
- else if (info.indexOf(ANNOTATION_ID) != -1)
+ else if (info.indexOf(ANNOTATION_ID) !== -1)
elementInfo.id = info.substring(
info.indexOf(ANNOTATION_ID) +
ANNOTATION_ID.length);
- else if (info.indexOf(ANNOTATION_CLASS) != -1)
+ else if (info.indexOf(ANNOTATION_CLASS) !== -1)
elementInfo.class = info.substring(
info.indexOf(ANNOTATION_CLASS) +
ANNOTATION_CLASS.length);

Powered by Google App Engine
This is Rietveld 408576698