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

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

Issue 467043: Revert 34040 - DevTools: make possible profiling of scripts doing heavy calcu... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
===================================================================
--- webkit/glue/devtools/js/inspector_controller_impl.js (revision 34040)
+++ webkit/glue/devtools/js/inspector_controller_impl.js (working copy)
@@ -135,8 +135,8 @@
* @override
*/
devtools.InspectorBackendImpl.prototype.startProfiling = function() {
- devtools.tools.getProfilerAgent().startProfiling(
- devtools.ProfilerAgent.ProfilerModules.PROFILER_MODULE_CPU);
+ devtools.tools.getDebuggerAgent().startProfiling(
+ devtools.DebuggerAgent.ProfilerModules.PROFILER_MODULE_CPU);
};
@@ -144,8 +144,8 @@
* @override
*/
devtools.InspectorBackendImpl.prototype.stopProfiling = function() {
- devtools.tools.getProfilerAgent().stopProfiling(
- devtools.ProfilerAgent.ProfilerModules.PROFILER_MODULE_CPU);
+ devtools.tools.getDebuggerAgent().stopProfiling(
+ devtools.DebuggerAgent.ProfilerModules.PROFILER_MODULE_CPU);
};
@@ -181,10 +181,10 @@
* @override
*/
devtools.InspectorBackendImpl.prototype.takeHeapSnapshot = function() {
- 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);
+ 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);
};
« 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