Index: webkit/glue/devtools/js/tests.js |
=================================================================== |
--- webkit/glue/devtools/js/tests.js (revision 30835) |
+++ webkit/glue/devtools/js/tests.js (working copy) |
@@ -369,11 +369,10 @@ |
this.showPanel('profiles'); |
var test = this; |
- this.addSniffer(WebInspector, 'addProfileHeader', |
- function(type, profile) { |
+ this.addSniffer(WebInspector.panels.profiles, 'addProfileHeader', |
+ function(typeOrProfile, profile) { |
if (!profile) { |
- profile = type; |
- type = profile.typeId; |
+ profile = typeOrProfile; |
} |
var panel = WebInspector.panels.profiles; |
panel.showProfile(profile); |