diff options
author | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 19:16:52 +0000 |
---|---|---|
committer | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 19:16:52 +0000 |
commit | 31771fa8acaa89d16e3ffad2974d67fba9c18f75 (patch) | |
tree | cfa749339883a72029dd07524d738847186e4ae7 /webkit/glue | |
parent | bf94abe7b12b3e68c4dfacef6484058843a142e7 (diff) | |
download | chromium_src-31771fa8acaa89d16e3ffad2974d67fba9c18f75.zip chromium_src-31771fa8acaa89d16e3ffad2974d67fba9c18f75.tar.gz chromium_src-31771fa8acaa89d16e3ffad2974d67fba9c18f75.tar.bz2 |
Fix TestProfilerTab.
TBR=pfeldman@chromium.org
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/348062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30842 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r-- | webkit/glue/devtools/js/tests.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/webkit/glue/devtools/js/tests.js b/webkit/glue/devtools/js/tests.js index 4a50c55..798dcca 100644 --- a/webkit/glue/devtools/js/tests.js +++ b/webkit/glue/devtools/js/tests.js @@ -369,11 +369,10 @@ TestSuite.prototype.testProfilerTab = function() { 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); |