aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger/qv8profilerservice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/debugger/qv8profilerservice.cpp')
-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();