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

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

Issue 460018: DevTools: make possible profiling of scripts doing heavy calculations. (Closed)
Patch Set: Comments addressed Created 11 years 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 | « webkit/glue/devtools/js/profiler_agent.js ('k') | webkit/glue/devtools/profiler_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « webkit/glue/devtools/js/profiler_agent.js ('k') | webkit/glue/devtools/profiler_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698