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

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

Issue 713913002: DevTools: merge TracingTimelineUIUtils into TimelineUIUtils (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Deleted instance refs Created 6 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: Source/devtools/front_end/timeline/TimelineOverviewPane.js
diff --git a/Source/devtools/front_end/timeline/TimelineOverviewPane.js b/Source/devtools/front_end/timeline/TimelineOverviewPane.js
index 0fd1146654680e6ce816001a1a87f9933577fea7..bd5f46f353b61d4c79048d33d6094570aa41cc4f 100644
--- a/Source/devtools/front_end/timeline/TimelineOverviewPane.js
+++ b/Source/devtools/front_end/timeline/TimelineOverviewPane.js
@@ -32,12 +32,10 @@
* @constructor
* @extends {WebInspector.VBox}
* @param {!WebInspector.TimelineModel} model
- * @param {!WebInspector.TimelineUIUtils} uiUtils
*/
-WebInspector.TimelineOverviewPane = function(model, uiUtils)
+WebInspector.TimelineOverviewPane = function(model)
{
WebInspector.VBox.call(this);
- this._uiUtils = uiUtils;
this.element.id = "timeline-overview-pane";
this._model = model;
@@ -114,8 +112,8 @@ WebInspector.TimelineOverviewPane.prototype = {
var dividerPosition = Math.round(positions.start * 10);
if (dividers[dividerPosition])
continue;
- var title = this._uiUtils.titleForRecord(record);
- var divider = this._uiUtils.createEventDivider(record.type(), title);
+ var title = WebInspector.TimelineUIUtils.titleForRecord(record);
+ var divider = WebInspector.TimelineUIUtils.createEventDivider(record.type(), title);
divider.style.left = positions.start + "%";
dividers[dividerPosition] = divider;
}
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineMemoryOverview.js ('k') | Source/devtools/front_end/timeline/TimelinePanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698