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

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

Issue 389563002: DevTools: make paint profiler target-aware (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed a test and a stray line Created 6 years, 5 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 e8ead53223609c4412fd95347b112ee85dae60a9..88f139c92c2ead09f9d451d8eff525a6dee6c555 100644
--- a/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -1061,7 +1061,7 @@ WebInspector.TimelinePanel.prototype = {
this.showInDetails(title, content);
if (event.picture) {
var paintProfilerView = this._paintProfilerView();
- paintProfilerView.setPicture(event.picture);
+ paintProfilerView.setPicture(this._model.target().weakReference(), event.picture);
this._detailsView.appendTab("paintProfiler", WebInspector.UIString("Paint Profiler"), paintProfilerView);
}
},

Powered by Google App Engine
This is Rietveld 408576698