b=550211 init pixman_region32_equal out-param.

r=roc.
This commit is contained in:
Karl Tomlinson 2010-03-07 23:33:42 +01:00
parent e49216da86
commit b38334998f

View File

@ -4677,6 +4677,7 @@ nsWindow::SetWindowClipRegion(const nsTArray<nsIntRect>& aRects,
nsAutoRef<pixman_region32> newRegion;
InitRegion(&newRegion, aRects);
nsAutoRef<pixman_region32> intersectRegion;
pixman_region32_init(&intersectRegion);
pixman_region32_intersect(&intersectRegion,
&newRegion, &existingRegion);