Bug 891607 - Fix typo resulting in a bad surface size in some startup scenarios. r=Cwiiis
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 29 Jul 2013 14:38:06 -0400
changeset 152711 c45025e765862751c464e3a32b39be25fe0d2646
parent 152710 72171f64d589316079f7b2fac443f165af0d25e6
child 152712 014cc3de08fb8156f4f4391732284a2e09639eed
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCwiiis
bugs891607
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 891607 - Fix typo resulting in a bad surface size in some startup scenarios. r=Cwiiis
widget/android/nsWindow.cpp
--- a/widget/android/nsWindow.cpp
+++ b/widget/android/nsWindow.cpp
@@ -2495,17 +2495,17 @@ nsWindow::NeedsPaint()
   }
   return nsIWidget::NeedsPaint();
 }
 
 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);
         }
     }
 
     virtual void ShadowLayersUpdated(LayerTransactionParent* aLayerTree, const TargetConfig& aTargetConfig,
                                      bool isFirstPaint) MOZ_OVERRIDE