From 959778a2b750cbc211643929a6e85a8694d72891 Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Tue, 11 Oct 2011 10:51:06 +1000 Subject: Remove aggregated heap snapshots Newer versions of v8 only support full snapshots. Change-Id: I2c6778579bdb2ec1cc38868bf4fa76ce3fbc1633 Reviewed-on: http://codereview.qt-project.org/6406 Sanity-Review: Qt Sanity Bot Sanity-Review: Aaron Kennedy Reviewed-by: Aaron Kennedy --- src/declarative/debugger/qv8profilerservice.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/declarative/debugger/qv8profilerservice.cpp b/src/declarative/debugger/qv8profilerservice.cpp index 83bb700640..0afa4fa6c1 100644 --- a/src/declarative/debugger/qv8profilerservice.cpp +++ b/src/declarative/debugger/qv8profilerservice.cpp @@ -163,9 +163,7 @@ void QV8ProfilerService::messageReceived(const QByteArray &message) QByteArray snapshotType; ds >> snapshotType; - if (snapshotType == "aggregated") - d->takeSnapshot(v8::HeapSnapshot::kAggregated); - else if (snapshotType == "full") + if (snapshotType == "full") d->takeSnapshot(v8::HeapSnapshot::kFull); } else if (command == "deletesnapshots") { v8::HeapProfiler::DeleteAllSnapshots(); -- cgit v1.2.3