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

Unified Diff: tracing/tracing/core/scripting_controller.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/core/scripting_controller.html
diff --git a/tracing/tracing/core/scripting_controller.html b/tracing/tracing/core/scripting_controller.html
index 31ad83f4ce7d4606ae8dcf15de561b9c5949dda6..8e9bed411f3b161220a0879793801ae91efdcbab 100644
--- a/tracing/tracing/core/scripting_controller.html
+++ b/tracing/tracing/core/scripting_controller.html
@@ -40,8 +40,9 @@ tr.exportTo('tr.c', function() {
onModelChanged_: function() {
this.scriptObjectValues_.forEach(function(v) {
- if (v.onModelChanged)
+ if (v.onModelChanged) {
v.onModelChanged(this.brushingStateController.model);
+ }
}, this);
},

Powered by Google App Engine
This is Rietveld 408576698