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

Unified Diff: webkit/glue/devtools/js/inspector_controller_impl.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/devtools_host_stub.js ('k') | webkit/glue/devtools/js/profiler_agent.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/inspector_controller_impl.js
diff --git a/webkit/glue/devtools/js/inspector_controller_impl.js b/webkit/glue/devtools/js/inspector_controller_impl.js
index c9b6cd35a7a03a3e37ce90cb971f39d8bc8c046b..02c44c9f35b0373b666218bc73660a89c6de1f29 100644
--- a/webkit/glue/devtools/js/inspector_controller_impl.js
+++ b/webkit/glue/devtools/js/inspector_controller_impl.js
@@ -135,8 +135,8 @@ devtools.InspectorBackendImpl.prototype.setPauseOnExceptions = function(
* @override
*/
devtools.InspectorBackendImpl.prototype.startProfiling = function() {
- devtools.tools.getDebuggerAgent().startProfiling(
- devtools.DebuggerAgent.ProfilerModules.PROFILER_MODULE_CPU);
+ devtools.tools.getProfilerAgent().startProfiling(
+ devtools.ProfilerAgent.ProfilerModules.PROFILER_MODULE_CPU);
};
@@ -144,8 +144,8 @@ devtools.InspectorBackendImpl.prototype.startProfiling = function() {
* @override
*/
devtools.InspectorBackendImpl.prototype.stopProfiling = function() {
- devtools.tools.getDebuggerAgent().stopProfiling(
- devtools.DebuggerAgent.ProfilerModules.PROFILER_MODULE_CPU);
+ devtools.tools.getProfilerAgent().stopProfiling(
+ devtools.ProfilerAgent.ProfilerModules.PROFILER_MODULE_CPU);
};
@@ -181,10 +181,10 @@ devtools.InspectorBackendImpl.prototype.getProfile = function(callId, uid) {
* @override
*/
devtools.InspectorBackendImpl.prototype.takeHeapSnapshot = function() {
- devtools.tools.getDebuggerAgent().startProfiling(
- devtools.DebuggerAgent.ProfilerModules.PROFILER_MODULE_HEAP_SNAPSHOT
- | devtools.DebuggerAgent.ProfilerModules.PROFILER_MODULE_HEAP_STATS
- | devtools.DebuggerAgent.ProfilerModules.PROFILER_MODULE_JS_CONSTRUCTORS);
+ devtools.tools.getProfilerAgent().startProfiling(
+ devtools.ProfilerAgent.ProfilerModules.PROFILER_MODULE_HEAP_SNAPSHOT
+ | devtools.ProfilerAgent.ProfilerModules.PROFILER_MODULE_HEAP_STATS
+ | devtools.ProfilerAgent.ProfilerModules.PROFILER_MODULE_JS_CONSTRUCTORS);
};
« no previous file with comments | « webkit/glue/devtools/js/devtools_host_stub.js ('k') | webkit/glue/devtools/js/profiler_agent.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698