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

Unified Diff: tracing/tracing/ui/analysis/frame_power_usage_chart.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/ui/analysis/frame_power_usage_chart.html
diff --git a/tracing/tracing/ui/analysis/frame_power_usage_chart.html b/tracing/tracing/ui/analysis/frame_power_usage_chart.html
index b7cafaa6733453aa973d85a2b122e9c73b6c0ecb..9423141c25e0de13ff683c127372d5e00d44406a 100644
--- a/tracing/tracing/ui/analysis/frame_power_usage_chart.html
+++ b/tracing/tracing/ui/analysis/frame_power_usage_chart.html
@@ -115,8 +115,7 @@ Polymer({
// If no vertical sync occurred before the power sample, don't use the
// power sample.
- if (lastVSyncTimestamp === undefined)
- return;
+ if (lastVSyncTimestamp === undefined) return;
var point = { x: sample.start - lastVSyncTimestamp };
point['f' + frameNumber] = sample.powerInW;
« no previous file with comments | « tracing/tracing/ui/analysis/flow_classifier.html ('k') | tracing/tracing/ui/analysis/frame_power_usage_chart_perf_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698