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

Unified Diff: tracing/tracing/extras/chrome/slice_title_fixer.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
Index: tracing/tracing/extras/chrome/slice_title_fixer.html
diff --git a/tracing/tracing/extras/chrome/slice_title_fixer.html b/tracing/tracing/extras/chrome/slice_title_fixer.html
index a8dd1ae95e5b062f76580aadf3dda6f15630290e..da5adf130a603dea2a37c7e11d87de76241af470 100644
--- a/tracing/tracing/extras/chrome/slice_title_fixer.html
+++ b/tracing/tracing/extras/chrome/slice_title_fixer.html
@@ -25,8 +25,9 @@ tr.exportTo('tr.e.chrome', function() {
// we're doing here. If this function ever becomes too complex we may consider
// using a similar pattern.
SliceTitleFixer.fromEvent = function(event) {
- if (event.args && event.args['src_func'])
+ if (event.args && event.args['src_func']) {
return event.title + ' <- ' + event.args['src_func'];
+ }
return event.title;
};
« no previous file with comments | « tracing/tracing/extras/chrome/layout_object.html ('k') | tracing/tracing/extras/importer/android/event_log_importer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698