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

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

Issue 442006: DevTools: Recognize getters and setters entries in CPU profile. (Closed)
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/profiler_processor.js
diff --git a/webkit/glue/devtools/js/profiler_processor.js b/webkit/glue/devtools/js/profiler_processor.js
index 5277377ef5e235915f2a53070b6128271b8fb607..f29dd6281106f3ba11a42ad4c3f955892b5d5dae 100644
--- a/webkit/glue/devtools/js/profiler_processor.js
+++ b/webkit/glue/devtools/js/profiler_processor.js
@@ -67,7 +67,7 @@ devtools.profiler.WebKitViewNode.FUNC_NAME_STRIP_RE =
* RegEx for extracting script source URL and line number.
*/
devtools.profiler.WebKitViewNode.FUNC_NAME_PARSE_RE =
- /^([^ ]+) (.*):(\d+)( \{\d+\})?$/;
+ /^((?:get | set )?[^ ]+) (.*):(\d+)( \{\d+\})?$/;
/**
« 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