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

Unified Diff: tracing/tracing/extras/importer/linux_perf/drm_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/drm_parser.html
diff --git a/tracing/tracing/extras/importer/linux_perf/drm_parser.html b/tracing/tracing/extras/importer/linux_perf/drm_parser.html
index 68ab3edd42b3daa4c03dd9dada9b3fee369cc052..0228aa807a890fe7410ed513a38294f19899a6e5 100644
--- a/tracing/tracing/extras/importer/linux_perf/drm_parser.html
+++ b/tracing/tracing/extras/importer/linux_perf/drm_parser.html
@@ -46,8 +46,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
*/
vblankEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = /crtc=(\d+), seq=(\d+)/.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var crtc = parseInt(event[1]);
var seq = parseInt(event[2]);

Powered by Google App Engine
This is Rietveld 408576698