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

Unified Diff: Source/devtools/front_end/TimelinePanel.js

Issue 236083009: Fix lint error in TimelinePanel.js due to 'energy' variable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/TimelinePanel.js
diff --git a/Source/devtools/front_end/TimelinePanel.js b/Source/devtools/front_end/TimelinePanel.js
index 79f10dfb6a07a22978696826f6ad27a2e9bc7b78..71fc05530a74916ff0cbe9bed06a2411dbc277d4 100644
--- a/Source/devtools/front_end/TimelinePanel.js
+++ b/Source/devtools/front_end/TimelinePanel.js
@@ -930,7 +930,7 @@ WebInspector.TimelinePanel.prototype = {
if (Capabilities.canProfilePower) {
var powerOverview = /** @type {!WebInspector.TimelinePowerOverview} */ (this._viewsForMode(WebInspector.TimelinePanel.Mode.Power).overviewView);
- energy = powerOverview.calculateEnergy(startTime, endTime);
+ var energy = powerOverview.calculateEnergy(startTime, endTime);
title += WebInspector.UIString(" Energy: %.2f Joules", energy);
}
this._detailsView.setContent(title, fragment);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698