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

Unified Diff: webkit/glue/devtools/js/debugger_agent.js

Issue 355012: DevTools: prepare for WebKit change 50460. (Closed)
Patch Set: Created 11 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
« no previous file with comments | « no previous file | webkit/glue/devtools/js/devtools.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/debugger_agent.js
diff --git a/webkit/glue/devtools/js/debugger_agent.js b/webkit/glue/devtools/js/debugger_agent.js
index 41020d6843b66e34da227990e3c9ba018a38d46f..c079bb8e32911f8085f2f264588aceef101129b6 100644
--- a/webkit/glue/devtools/js/debugger_agent.js
+++ b/webkit/glue/devtools/js/debugger_agent.js
@@ -662,7 +662,9 @@ devtools.DebuggerAgent.prototype.setupProfilerProcessorCallbacks = function() {
},
function onProfileProcessingFinished(profile) {
profilesSidebar.removeChild(processingIcon);
- WebInspector.addProfile(profile);
+ profile.typeId = WebInspector.CPUProfileType.TypeId;
+ InspectorController.addFullProfile(profile);
+ WebInspector.addProfileHeader(profile);
// If no profile is currently shown, show the new one.
var profilesPanel = WebInspector.panels.profiles;
if (!profilesPanel.visibleView) {
« no previous file with comments | « no previous file | webkit/glue/devtools/js/devtools.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698