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

Unified Diff: tracing/tracing/importer/empty_importer.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/importer/empty_importer.html
diff --git a/tracing/tracing/importer/empty_importer.html b/tracing/tracing/importer/empty_importer.html
index dc5f867b3ffdea79b9c47fb913ff19c2eca098d4..028a7d427ec64f556f17c93caa3920cc3caa975f 100644
--- a/tracing/tracing/importer/empty_importer.html
+++ b/tracing/tracing/importer/empty_importer.html
@@ -20,13 +20,13 @@ tr.exportTo('tr.importer', function() {
*/
function EmptyImporter(events) {
this.importPriority = 0;
- };
+ }
EmptyImporter.canImport = function(eventData) {
- if (eventData instanceof Array && eventData.length == 0)
+ if (eventData instanceof Array && eventData.length === 0)
return true;
if (typeof(eventData) === 'string' || eventData instanceof String) {
- return eventData.length == 0;
+ return eventData.length === 0;
}
return false;
};

Powered by Google App Engine
This is Rietveld 408576698