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

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

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: Created 4 years, 1 month 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 e5b93999689352d767d427425de50168147ec215..77858823a70d702147765a796530cfc382e7ce7f 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
@@ -554,7 +554,7 @@ WebInspector.FlameChart.prototype = {
*/
setWindowTimes: function(startTime, endTime)
{
- WebInspector.FlameChart.prototype.__proto__.setWindowTimes.call(this, startTime, endTime);
+ WebInspector.ChartViewport.prototype.setWindowTimes.call(this, startTime, endTime);
this._updateHighlight();
},
@@ -1625,7 +1625,7 @@ WebInspector.FlameChart.prototype = {
*/
onResize: function()
{
- WebInspector.FlameChart.prototype.__proto__.onResize.call(this);
+ WebInspector.ChartViewport.prototype.onResize.call(this);
this.scheduleUpdate();
},
@@ -1645,9 +1645,12 @@ WebInspector.FlameChart.prototype = {
this._updateHighlight();
},
+ /**
+ * @override
+ */
reset: function()
{
- WebInspector.FlameChart.prototype.__proto__.reset.call(this);
+ WebInspector.ChartViewport.prototype.reset.call(this);
this._highlightedMarkerIndex = -1;
this._highlightedEntryIndex = -1;
this._selectedEntryIndex = -1;

Powered by Google App Engine
This is Rietveld 408576698