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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline Created 4 years, 2 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: third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js
index 9573e7275b2e7d5377a179c37493c47c022fb384..107a317bbf3d9aa5f5e52a21e99c3da9bb1f3423 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js
@@ -31,7 +31,7 @@
/**
* @interface
*/
-WebInspector.FlameChartDelegate = function() { }
+WebInspector.FlameChartDelegate = function() { };
WebInspector.FlameChartDelegate.prototype = {
/**
@@ -45,7 +45,7 @@ WebInspector.FlameChartDelegate.prototype = {
* @param {number} endTime
*/
updateRangeSelection: function(startTime, endTime) { },
-}
+};
/**
* @constructor
@@ -109,7 +109,7 @@ WebInspector.FlameChart = function(dataProvider, flameChartDelegate, groupExpans
this._textWidth = new Map();
this._lastMouseOffsetX = 0;
-}
+};
WebInspector.FlameChart.DividersBarHeight = 18;
@@ -120,7 +120,7 @@ WebInspector.FlameChart.MinimalTimeWindowMs = 0.5;
*/
WebInspector.FlameChartDataProvider = function()
{
-}
+};
/**
* @typedef {!{name: string, startLevel: number, expanded: (boolean|undefined), style: !WebInspector.FlameChart.GroupStyle}}
@@ -161,7 +161,7 @@ WebInspector.FlameChart.TimelineData = function(entryLevels, entryTotalTimes, en
this.flowStartLevels = [];
this.flowEndTimes = [];
this.flowEndLevels = [];
-}
+};
WebInspector.FlameChartDataProvider.prototype = {
/**
@@ -271,14 +271,14 @@ WebInspector.FlameChartDataProvider.prototype = {
* @return {number}
*/
paddingLeft: function() { },
-}
+};
/**
* @interface
*/
WebInspector.FlameChartMarker = function()
{
-}
+};
WebInspector.FlameChartMarker.prototype = {
/**
@@ -303,12 +303,12 @@ WebInspector.FlameChartMarker.prototype = {
* @param {number} pixelsPerMillisecond
*/
draw: function(context, x, height, pixelsPerMillisecond) { },
-}
+};
/** @enum {symbol} */
WebInspector.FlameChart.Events = {
EntrySelected: Symbol("EntrySelected")
-}
+};
/**
@@ -326,7 +326,7 @@ WebInspector.FlameChart.ColorGenerator = function(hueSpace, satSpace, lightnessS
this._alphaSpace = alphaSpace || 1;
/** @type {!Map<string, string>} */
this._colors = new Map();
-}
+};
WebInspector.FlameChart.ColorGenerator.prototype = {
/**
@@ -379,7 +379,7 @@ WebInspector.FlameChart.ColorGenerator.prototype = {
index %= count;
return space.min + Math.floor(index / (count - 1) * (space.max - space.min));
}
-}
+};
/**
@@ -391,7 +391,7 @@ WebInspector.FlameChart.Calculator = function(dataProvider)
{
this._dataProvider = dataProvider;
this._paddingLeft = 0;
-}
+};
WebInspector.FlameChart.Calculator.prototype = {
/**
@@ -473,7 +473,7 @@ WebInspector.FlameChart.Calculator.prototype = {
{
return this._maximumBoundaries - this._minimumBoundaries;
}
-}
+};
WebInspector.FlameChart.prototype = {
/**
@@ -1087,7 +1087,7 @@ WebInspector.FlameChart.prototype = {
context.fillRect(0, offset - paddingHeight + 2, width, paddingHeight - 4);
});
if (groups.length && lastGroupOffset < top + height)
- context.fillRect(0, lastGroupOffset + 2, width, top + height - lastGroupOffset)
+ context.fillRect(0, lastGroupOffset + 2, width, top + height - lastGroupOffset);
context.strokeStyle = WebInspector.themeSupport.patchColor("#bbb", colorUsage.Background);
context.beginPath();
@@ -1133,7 +1133,7 @@ WebInspector.FlameChart.prototype = {
context.beginPath();
forEachGroup.call(this, (offset, index, group) => {
if (this._isGroupCollapsible(index))
- drawExpansionArrow.call(this, this._expansionArrowIndent * (group.style.nestingLevel + 1), offset + textBaseHeight - this._arrowSide / 2, !!group.expanded)
+ drawExpansionArrow.call(this, this._expansionArrowIndent * (group.style.nestingLevel + 1), offset + textBaseHeight - this._arrowSide / 2, !!group.expanded);
});
context.fill();
@@ -1668,4 +1668,4 @@ WebInspector.FlameChart.prototype = {
},
__proto__: WebInspector.ChartViewport.prototype
-}
+};

Powered by Google App Engine
This is Rietveld 408576698