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

Unified Diff: tracing/tracing/base/extension_registry.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
« no previous file with comments | « tracing/tracing/base/event_target.html ('k') | tracing/tracing/base/extension_registry_basic.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/extension_registry.html
diff --git a/tracing/tracing/base/extension_registry.html b/tracing/tracing/base/extension_registry.html
index 0bc0b5b9e5c269b23dc5919b14d9a3f99f6996d1..713a79045c21b9876feb2bd6032322a2913ccdf5 100644
--- a/tracing/tracing/base/extension_registry.html
+++ b/tracing/tracing/base/extension_registry.html
@@ -45,9 +45,9 @@ tr.exportTo('tr.b', function() {
throw new Error('Already has registry');
registryOptions.freeze();
- if (registryOptions.mode == tr.b.BASIC_REGISTRY_MODE) {
+ if (registryOptions.mode === tr.b.BASIC_REGISTRY_MODE) {
tr.b._decorateBasicExtensionRegistry(registry, registryOptions);
- } else if (registryOptions.mode == tr.b.TYPE_BASED_REGISTRY_MODE) {
+ } else if (registryOptions.mode === tr.b.TYPE_BASED_REGISTRY_MODE) {
tr.b._decorateTypeBasedExtensionRegistry(registry, registryOptions);
} else {
throw new Error('Unrecognized mode');
« no previous file with comments | « tracing/tracing/base/event_target.html ('k') | tracing/tracing/base/extension_registry_basic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698