From 08babf8aa8afa7d8b9471f98613dd24602484912 Mon Sep 17 00:00:00 2001 From: Michael Wu Date: Wed, 22 Feb 2012 09:50:44 +0100 Subject: [PATCH] Bug 729146 - Check aRepaint in Resize in gonk's nsWindow, r=cjones --- widget/gonk/nsWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/widget/gonk/nsWindow.cpp b/widget/gonk/nsWindow.cpp index 7a2d10b7935..4bc61b0840f 100644 --- a/widget/gonk/nsWindow.cpp +++ b/widget/gonk/nsWindow.cpp @@ -280,6 +280,9 @@ nsWindow::Resize(PRInt32 aX, (*mEventCallback)(&event); + if (aRepaint && gWindowToRedraw) + gWindowToRedraw->Invalidate(sVirtualBounds); + return NS_OK; }