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

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

Issue 348062: Fix TestProfilerTab. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698