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

Unified Diff: tracing/tracing/extras/importer/linux_perf/regulator_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/regulator_parser.html
diff --git a/tracing/tracing/extras/importer/linux_perf/regulator_parser.html b/tracing/tracing/extras/importer/linux_perf/regulator_parser.html
index 8031e40ece419afac59808b0f2194408d7d5319c..53cf75adccc27369d1ae2e2b69571666a016abef 100644
--- a/tracing/tracing/extras/importer/linux_perf/regulator_parser.html
+++ b/tracing/tracing/extras/importer/linux_perf/regulator_parser.html
@@ -74,8 +74,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
*/
regulatorEnableEvent: function(eventName, cpuNum, pid, ts, eventBase) {
var event = regulatorEnableRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var name = event[1];
@@ -96,8 +95,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
regulatorDisableEvent: function(eventName, cpuNum, pid, ts, eventBase) {
var event = regulatorDisableRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var name = event[1];
@@ -119,8 +117,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
regulatorSetVoltageCompleteEvent: function(eventName, cpuNum, pid, ts,
eventBase) {
var event = regulatorSetVoltageCompleteRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var name = event[1];
var voltage = parseInt(event[2]);

Powered by Google App Engine
This is Rietveld 408576698