aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2011-10-11 10:51:06 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-12 01:31:11 +0200
commit959778a2b750cbc211643929a6e85a8694d72891 (patch)
treebfb7604adf66780bc7063519f43e065b57109848
parent0466acb02740b5dbf3254d6445186b4d3ccd0699 (diff)
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 <qt_sanity_bot@ovi.com> Sanity-Review: Aaron Kennedy <aaron.kennedy@nokia.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
-rw-r--r--src/declarative/debugger/qv8profilerservice.cpp4
1 files changed, 1 insertions, 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();