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

Unified Diff: tracing/tracing/ui/base/dom_helpers.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/base/dom_helpers.html
diff --git a/tracing/tracing/ui/base/dom_helpers.html b/tracing/tracing/ui/base/dom_helpers.html
index 2763385b6522ad542018fb4cdadbd7f38eabfbc0..5f01a92f690696f40cf6aa2b6fd55a1023ac2135 100644
--- a/tracing/tracing/ui/base/dom_helpers.html
+++ b/tracing/tracing/ui/base/dom_helpers.html
@@ -50,7 +50,7 @@ tr.exportTo('tr.ui.b', function() {
spanEl.style.color = opt_dictionary.color;
}
return spanEl;
- };
+ }
function createDiv(opt_dictionary) {
var divEl = document.createElement('div');
@@ -66,7 +66,7 @@ tr.exportTo('tr.ui.b', function() {
divEl.style.maxWidth = opt_dictionary.maxWidth;
}
return divEl;
- };
+ }
function createScopedStyle(styleContent) {
var styleEl = document.createElement('style');
@@ -122,7 +122,7 @@ tr.exportTo('tr.ui.b', function() {
for (var i = 0; i < selectorEl.children.length; i++) {
var value = selectorEl.children[i].targetPropertyValue;
if (valuesEqual(value, v)) {
- var changed = selectorEl.selectedIndex != i;
+ var changed = selectorEl.selectedIndex !== i;
if (changed) {
selectorEl.selectedIndex = i;
onChange();

Powered by Google App Engine
This is Rietveld 408576698