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

Unified Diff: tracing/tracing/extras/ads/domain_category.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 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/core/test_utils.html ('k') | tracing/tracing/extras/android/android_auditor.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/extras/ads/domain_category.html
diff --git a/tracing/tracing/extras/ads/domain_category.html b/tracing/tracing/extras/ads/domain_category.html
index d41965b99df1424e6422e69b8648192ebdd4e81e..d1aa160484df041c0603ba3f3d780a725ef8248b 100644
--- a/tracing/tracing/extras/ads/domain_category.html
+++ b/tracing/tracing/extras/ads/domain_category.html
@@ -73,8 +73,9 @@ tr.exportTo('tr.e.ads', function() {
DomainCategory.fromDomain = function(domain) {
for (var i = 0; i < CATEGORY_DOMAIN_RULES.length; i++) {
- if (CATEGORY_DOMAIN_RULES[i].expr.test(domain))
+ if (CATEGORY_DOMAIN_RULES[i].expr.test(domain)) {
return CATEGORY_DOMAIN_RULES[i].category;
+ }
}
return CATEGORY_OTHER;
};
« no previous file with comments | « tracing/tracing/core/test_utils.html ('k') | tracing/tracing/extras/android/android_auditor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698