diff --git a/view/src/nsViewManager.cpp b/view/src/nsViewManager.cpp index 2e63ebdfb17..3be0e091c8a 100644 --- a/view/src/nsViewManager.cpp +++ b/view/src/nsViewManager.cpp @@ -853,6 +853,8 @@ void nsViewManager :: AddRectToDirtyRegion(nsRect &aRect) if (NS_OK != rv) return; + else + mDirtyRegion->Init(); } nsRect trect = aRect;