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 140433 c45025e765862751c464e3a32b39be25fe0d2646
parent 140432 72171f64d589316079f7b2fac443f165af0d25e6
child 140434 014cc3de08fb8156f4f4391732284a2e09639eed
push id25030
push userryanvm@gmail.com
push dateTue, 30 Jul 2013 17:07:39 +0000
treeherdermozilla-central@129ce98f4cb2 [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