зеркало из https://github.com/mozilla/gecko-dev.git
b=525673; not repainting correctly on canvas animation; r=roc
This commit is contained in:
Родитель
9dafcbbd25
Коммит
bed4dfb822
|
@ -939,6 +939,10 @@ nsCanvasRenderingContext2D::InitializeWithSurface(nsIDocShell *docShell, gfxASur
|
|||
|
||||
mThebes->NewPath();
|
||||
|
||||
// always force a redraw, because if the surface dimensions were reset
|
||||
// then the surface became cleared, and we need to redraw everything.
|
||||
Redraw();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче