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

Unified Diff: tracing/tracing/model/user_model/animation_expectation.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/model/timed_event.html ('k') | tracing/tracing/model/user_model/load_expectation.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/user_model/animation_expectation.html
diff --git a/tracing/tracing/model/user_model/animation_expectation.html b/tracing/tracing/model/user_model/animation_expectation.html
index 28b588be9a2f4a40b656bb4a69e94d83264a2349..a3fced6de2c31e853e19e9c5b69179ae683b33f7 100644
--- a/tracing/tracing/model/user_model/animation_expectation.html
+++ b/tracing/tracing/model/user_model/animation_expectation.html
@@ -23,14 +23,16 @@ tr.exportTo('tr.model.um', function() {
constructor: AnimationExpectation,
get frameEvents() {
- if (this.frameEvents_)
+ if (this.frameEvents_) {
return this.frameEvents_;
+ }
this.frameEvents_ = new tr.model.EventSet();
this.associatedEvents.forEach(function(event) {
- if (event.title === tr.model.helpers.IMPL_RENDERING_STATS)
+ if (event.title === tr.model.helpers.IMPL_RENDERING_STATS) {
this.frameEvents_.push(event);
+ }
}, this);
return this.frameEvents_;
« no previous file with comments | « tracing/tracing/model/timed_event.html ('k') | tracing/tracing/model/user_model/load_expectation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698