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

Unified Diff: tracing/tracing/extras/importer/linux_perf/i2c_parser.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/importer/linux_perf/i2c_parser.html
diff --git a/tracing/tracing/extras/importer/linux_perf/i2c_parser.html b/tracing/tracing/extras/importer/linux_perf/i2c_parser.html
index 0b600b45f2921881b6d556aad5bfe6e8d7dda9d0..758de8886cbb4c111919867ebca628056bf78b5b 100644
--- a/tracing/tracing/extras/importer/linux_perf/i2c_parser.html
+++ b/tracing/tracing/extras/importer/linux_perf/i2c_parser.html
@@ -51,8 +51,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
*/
i2cWriteEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = i2cWriteReplyRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var adapterNumber = parseInt(event[1]);
var messageNumber = event[2];
@@ -80,8 +79,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
i2cReadEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = i2cReadRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var adapterNumber = parseInt(event[1]);
var messageNumber = event[2];
@@ -107,8 +105,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
i2cReplyEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = i2cWriteReplyRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var adapterNumber = parseInt(event[1]);
var messageNumber = event[2];
@@ -136,8 +133,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
i2cResultEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = i2cResultRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var adapterNumber = parseInt(event[1]);
var numMessages = event[2];

Powered by Google App Engine
This is Rietveld 408576698