Backed out changeset af51821b2fc5 (bug 1268313) for causing very frequent bc7 memory leak
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user