From d4e5ed21677835adae94c8265662fbb8532ed7f3 Mon Sep 17 00:00:00 2001 From: Bas Schouten Date: Tue, 4 Jan 2011 02:37:13 +0100 Subject: [PATCH] Bug 622678: Empty valid region when resources are cleared. r=roc a=blocking-betan --- gfx/layers/d3d9/ThebesLayerD3D9.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/layers/d3d9/ThebesLayerD3D9.cpp b/gfx/layers/d3d9/ThebesLayerD3D9.cpp index cb5ec0f82841..89d8f015d896 100644 --- a/gfx/layers/d3d9/ThebesLayerD3D9.cpp +++ b/gfx/layers/d3d9/ThebesLayerD3D9.cpp @@ -258,6 +258,7 @@ ThebesLayerD3D9::CleanResources() { mTexture = nsnull; mTextureOnWhite = nsnull; + mValidRegion.SetEmpty(); } void