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

Unified Diff: tracing/tracing/ui/base/ui_test.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: Fix test 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
Index: tracing/tracing/ui/base/ui_test.html
diff --git a/tracing/tracing/ui/base/ui_test.html b/tracing/tracing/ui/base/ui_test.html
index 4cace3aa243d6667b6b22a1440085c8704d2c72e..6f63a262e5cf1194e7ab5090c2c431e36cca66fc 100644
--- a/tracing/tracing/ui/base/ui_test.html
+++ b/tracing/tracing/ui/base/ui_test.html
@@ -16,8 +16,9 @@ tr.b.unittest.testSuite(function() {
__proto__: HTMLDivElement.prototype,
decorate: function() {
- if (!this.decorateCallCount)
+ if (!this.decorateCallCount) {
this.decorateCallCount = 0;
+ }
this.decorateCallCount++;
}
};

Powered by Google App Engine
This is Rietveld 408576698