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

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

Issue 1155963005: DevTools: Show frame rate on timeline events overview. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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: Source/devtools/front_end/timeline/TimelinePanel.js
diff --git a/Source/devtools/front_end/timeline/TimelinePanel.js b/Source/devtools/front_end/timeline/TimelinePanel.js
index dd9ad74826e1d597d893c9052e38e2a003b33b5b..850f48360045f41bf50b3b71df9c839d972973f2 100644
--- a/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -604,7 +604,7 @@ WebInspector.TimelinePanel.prototype = {
this._overviewControls = [];
var mainOverview = isFrameMode ? new WebInspector.TimelineFrameOverview(this._model, this._frameModel())
- : new WebInspector.TimelineEventOverview(this._model);
+ : new WebInspector.TimelineEventOverview(this._model, this._frameModel());
this._overviewControls.push(mainOverview);
this.element.classList.toggle("timeline-overview-frames-mode", isFrameMode);
@@ -618,7 +618,7 @@ WebInspector.TimelinePanel.prototype = {
this._flameChart = null;
this._filterBar.filterButton().setEnabled(true);
this._filtersContainer.classList.toggle("hidden", !this._filterBar.filtersToggled());
- var timelineView = new WebInspector.TimelineView(this, this._model)
+ var timelineView = new WebInspector.TimelineView(this, this._model);
this._addModeView(timelineView);
timelineView.setFrameModel(isFrameMode ? this._frameModel() : null);
}

Powered by Google App Engine
This is Rietveld 408576698