diff --git a/gfx/layers/d3d9/ImageLayerD3D9.cpp b/gfx/layers/d3d9/ImageLayerD3D9.cpp index ef07871618f..5ae4a79c4b0 100644 --- a/gfx/layers/d3d9/ImageLayerD3D9.cpp +++ b/gfx/layers/d3d9/ImageLayerD3D9.cpp @@ -622,10 +622,6 @@ CairoImageD3D9::SetData(const CairoImage::Data &aData) mSize = aData.mSize; mCachedSurface = aData.mSurface; mTexture = NULL; - - // Try to upload the surface immediately, so that we don't block the - // rendering pipeline at paint time. - (void) GetOrCreateTexture(); } IDirect3DTexture9*