backout rev a7a10b14ff06 (bug797942); a=akeybl
authorGeoff Brown <gbrown@mozilla.com>
Thu, 08 Nov 2012 12:20:30 -0700
changeset 114036 3600b4bb3aacde12c69ed5bf323dcfc4489156b1
parent 114035 39be69bb99565eeffdee79859dfbd77ca528bfb1
child 114037 a378d29364b705889112394b073cee4d405bdc18
push id2618
push usergbrown@mozilla.com
push dateThu, 08 Nov 2012 19:21:30 +0000
treeherdermozilla-aurora@a378d29364b7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersakeybl
bugs797942
milestone18.0a2
backout rev a7a10b14ff06 (bug797942); a=akeybl
widget/android/nsWindow.cpp
--- a/widget/android/nsWindow.cpp
+++ b/widget/android/nsWindow.cpp
@@ -1236,26 +1236,22 @@ nsWindow::OnDraw(AndroidGeckoEvent *ae)
     }
 }
 
 void
 nsWindow::OnSizeChanged(const gfxIntSize& aSize)
 {
     ALOG("nsWindow: %p OnSizeChanged [%d %d]", (void*)this, aSize.width, aSize.height);
 
-    SchedulePauseComposition();
-
     mBounds.width = aSize.width;
     mBounds.height = aSize.height;
 
     if (mWidgetListener) {
         mWidgetListener->WindowResized(this, aSize.width, aSize.height);
     }
-
-    ScheduleResumeComposition(aSize.width, aSize.height);
 }
 
 void
 nsWindow::InitEvent(nsGUIEvent& event, nsIntPoint* aPoint)
 {
     if (aPoint) {
         event.refPoint.x = aPoint->x;
         event.refPoint.y = aPoint->y;