Backed out changeset af51821b2fc5 (bug 1268313) for causing very frequent bc7 memory leak

This commit is contained in:
Carsten "Tomcat" Book
2016-04-29 14:22:04 +02:00
parent d10653e369
commit 70be75ac0e
8 changed files with 21 additions and 41 deletions

View File

@@ -94,7 +94,7 @@ ActiveElementManager::TriggerElementActivation()
// bug properly should make this unnecessary.
MOZ_ASSERT(mSetActiveTask == nullptr);
RefPtr<CancelableRunnable> task = NewCancelableRunnableMethod(
RefPtr<CancelableRunnable> task = NewRunnableMethod(
this, &ActiveElementManager::SetActiveTask, mTarget);
mSetActiveTask = task;
MessageLoop::current()->PostDelayedTask(task.forget(), sActivationDelayMs);