summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/src/js/HeapProfilerPanel.js
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/src/js/HeapProfilerPanel.js')
-rw-r--r--WebKit/chromium/src/js/HeapProfilerPanel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/chromium/src/js/HeapProfilerPanel.js b/WebKit/chromium/src/js/HeapProfilerPanel.js
index 0fc4418..bcb008f 100644
--- a/WebKit/chromium/src/js/HeapProfilerPanel.js
+++ b/WebKit/chromium/src/js/HeapProfilerPanel.js
@@ -932,7 +932,7 @@ WebInspector.HeapSnapshotProfileType.prototype = {
buttonClicked: function()
{
- InspectorBackend.takeHeapSnapshot();
+ devtools.tools.getProfilerAgent().startProfiling(devtools.ProfilerAgent.ProfilerModules.PROFILER_MODULE_HEAP_SNAPSHOT);
},
get welcomeMessage()