mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 748209 - Fix logic error in CompositorParent::ScheduleTask. r=ajuma
--HG-- extra : rebase_source : 216967a9a94eca09935d5b196ac04b95a6ed418c
This commit is contained in:
parent
4057422bf2
commit
b5722875da
@ -187,7 +187,7 @@ CompositorParent::ScheduleResumeOnCompositorThread(int width, int height)
|
||||
void
|
||||
CompositorParent::ScheduleTask(CancelableTask* task, int time)
|
||||
{
|
||||
if (time) {
|
||||
if (time == 0) {
|
||||
MessageLoop::current()->PostTask(FROM_HERE, task);
|
||||
} else {
|
||||
MessageLoop::current()->PostDelayedTask(FROM_HERE, task, time);
|
||||
|
Loading…
Reference in New Issue
Block a user