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

Unified Diff: tracing/tracing/extras/importer/linux_perf/memreclaim_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/memreclaim_parser.html
diff --git a/tracing/tracing/extras/importer/linux_perf/memreclaim_parser.html b/tracing/tracing/extras/importer/linux_perf/memreclaim_parser.html
index 8565675d7be5cd993edb9e1b066bff3b04180fb4..31c84cc12a190b1161534e036e0c51f8873bf1f3 100644
--- a/tracing/tracing/extras/importer/linux_perf/memreclaim_parser.html
+++ b/tracing/tracing/extras/importer/linux_perf/memreclaim_parser.html
@@ -57,8 +57,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
*/
kswapdWake: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = kswapdWakeRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var tgid = parseInt(eventBase.tgid);
@@ -100,8 +99,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
reclaimBegin: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = reclaimBeginRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var order = parseInt(event[1]);
var gfp = event[2];
@@ -118,8 +116,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
reclaimEnd: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = reclaimEndRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var nrReclaimed = parseInt(event[1]);
var tgid = parseInt(eventBase.tgid);

Powered by Google App Engine
This is Rietveld 408576698