b=525673; not repainting correctly on canvas animation; r=roc

This commit is contained in:
Vladimir Vukicevic 2009-11-18 12:55:59 -08:00
Родитель 9dafcbbd25
Коммит bed4dfb822
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -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;
}