From: Aaron Kennedy Date: Tue, 11 Oct 2011 00:51:06 +0000 (+1000) Subject: Remove aggregated heap snapshots X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=959778a2b750cbc211643929a6e85a8694d72891;p=konrad%2Fqtdeclarative.git 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 --- diff --git a/src/declarative/debugger/qv8profilerservice.cpp b/src/declarative/debugger/qv8profilerservice.cpp index 83bb700..0afa4fa 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();