Index: webkit/glue/devtools/js/tests.js |
diff --git a/webkit/glue/devtools/js/tests.js b/webkit/glue/devtools/js/tests.js |
index 1136f50243aaf693b78281c4eb73fd1d322286e2..0eb2a42938cf4ee44404a5065d3fd7269347bca7 100644 |
--- a/webkit/glue/devtools/js/tests.js |
+++ b/webkit/glue/devtools/js/tests.js |
@@ -430,8 +430,8 @@ TestSuite.prototype.testProfilerTab = function() { |
}); |
var ticksCount = 0; |
var tickRecord = '\nt,'; |
- this.addSniffer(RemoteDebuggerAgent, 'DidGetNextLogLines', |
- function(log) { |
+ this.addSniffer(RemoteProfilerAgent, 'DidGetLogLines', |
+ function(posIgnored, log) { |
var pos = 0; |
while ((pos = log.indexOf(tickRecord, pos)) != -1) { |
pos += tickRecord.length; |