Bug 1015331 - Do not leak Task object created during fling handoff. r=kats

This commit is contained in:
Botond Ballo 2014-05-23 14:32:10 -04:00
Родитель 44cdf804f9
Коммит 2fdad6c7af
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -1728,6 +1728,7 @@ bool AsyncPanZoomController::SampleContentTransformForFrame(const TimeStamp& aSa
for (uint32_t i = 0; i < deferredTasks.length(); ++i) {
deferredTasks[i]->Run();
delete deferredTasks[i];
}
// Cancel the mAsyncScrollTimeoutTask because we will fire a