author | Geoff Brown <gbrown@mozilla.com> |
Fri, 05 Oct 2012 04:26:33 -0600 | |
changeset 109384 | a7a10b14ff060927c81e7d7953fa4a4646638362 |
parent 109383 | e8f535c751d1d9b0a96e45a037faeacaddef0bc5 |
child 109385 | 12b5f4b2f29929902045c69add78cf275b920208 |
push id | 23630 |
push user | emorley@mozilla.com |
push date | Sat, 06 Oct 2012 19:35:27 +0000 |
treeherder | mozilla-central@9f677c2bb33d [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | cwiiis |
bugs | 797942 |
milestone | 18.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
|
--- a/widget/android/nsWindow.cpp +++ b/widget/android/nsWindow.cpp @@ -1236,22 +1236,26 @@ 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;