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>
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();