Bug 891607 - Fix typo resulting in a bad surface size in some startup scenarios. r=Cwiiis

This commit is contained in:
Kartikaya Gupta 2013-07-29 14:38:06 -04:00
parent f354fd56a7
commit dc291eb209

View File

@ -2500,7 +2500,7 @@ class AndroidCompositorParent : public CompositorParent {
public:
AndroidCompositorParent(nsIWidget* aWidget, bool aRenderToEGLSurface,
int aSurfaceWidth, int aSurfaceHeight)
: CompositorParent(aWidget, aRenderToEGLSurface, aSurfaceHeight, aSurfaceHeight)
: CompositorParent(aWidget, aRenderToEGLSurface, aSurfaceWidth, aSurfaceHeight)
{
if (nsWindow::GetPanZoomController()) {
nsWindow::GetPanZoomController()->SetCompositorParent(this);