Backed out changeset a7a10b14ff06 (bug 797942)
authorGeoff Brown <gbrown@mozilla.com>
Thu, 18 Oct 2012 10:00:26 -0600
changeset 110698 907354856a079b8d6ecc65c8f8cc2f33841b84e9
parent 110697 421315a62cb5e098c01610514d3d368d339fabc0
child 110699 142ee4ac9b309370b5f539e80a91327fc1236d54
push id16690
push usergbrown@mozilla.com
push dateThu, 18 Oct 2012 19:30:39 +0000
treeherdermozilla-inbound@907354856a07 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs797942
milestone19.0a1
backs outa7a10b14ff060927c81e7d7953fa4a4646638362
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
Backed out changeset a7a10b14ff06 (bug 797942)
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;