From 3c0d098a853aef112e1e2afd57fd17e15a52518b Mon Sep 17 00:00:00 2001 From: "michaelp%netscape.com" Date: Fri, 26 Feb 1999 20:16:50 +0000 Subject: [PATCH] added fix for GetRects(). not currently called by anything but the new compositor which is not yet enabled. approved by sar. git-svn-id: svn://10.0.0.236/trunk@22216 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/gtk/nsRegionGTK.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/gfx/src/gtk/nsRegionGTK.cpp b/mozilla/gfx/src/gtk/nsRegionGTK.cpp index 2b1ef0a29ee..2cd934de647 100644 --- a/mozilla/gfx/src/gtk/nsRegionGTK.cpp +++ b/mozilla/gfx/src/gtk/nsRegionGTK.cpp @@ -250,6 +250,8 @@ NS_IMETHODIMP nsRegionGTK::GetRects(nsRegionRectSet **aRects) rect++; } + *aRects = rects; + return NS_OK; }