From 9f96be2f266c23b69793a7c5b9985c4b72e3f70e Mon Sep 17 00:00:00 2001 From: Nicolas Silva Date: Wed, 28 Nov 2018 16:55:10 +0100 Subject: [PATCH] bug 1510447 - Fix a blob image key leak. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D13262 --HG-- extra : source : a58f38fb47f3f436584a816ccbbc192ae9684d02 extra : intermediate-source : 6cca1b66a9dd1951abd51f6c3bf588a2ae46934c --- gfx/layers/wr/WebRenderUserData.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/layers/wr/WebRenderUserData.cpp b/gfx/layers/wr/WebRenderUserData.cpp index aafcface38ab..3ca7057021b0 100644 --- a/gfx/layers/wr/WebRenderUserData.cpp +++ b/gfx/layers/wr/WebRenderUserData.cpp @@ -306,6 +306,7 @@ WebRenderFallbackData::WebRenderFallbackData(WebRenderLayerManager* aWRManager, WebRenderFallbackData::~WebRenderFallbackData() { + ClearImageKey(); } nsDisplayItemGeometry*