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); |
}; |