[tor-commits] [tor-browser/esr24] Bug 1018234 - Reference count fontFaces. r=jfkthame, a=sledru

mikeperry at torproject.org mikeperry at torproject.org
Fri Aug 29 05:26:43 UTC 2014


commit 1d07beef613496ed0768603fc401c4b1444400e6
Author: James Kitchener <jkitch.bug at gmail.com>
Date:   Wed Jun 25 10:12:31 2014 +0100

    Bug 1018234 - Reference count fontFaces. r=jfkthame, a=sledru
---
 gfx/thebes/gfxDWriteFontList.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gfx/thebes/gfxDWriteFontList.cpp b/gfx/thebes/gfxDWriteFontList.cpp
index bef515f..8df648f 100644
--- a/gfx/thebes/gfxDWriteFontList.cpp
+++ b/gfx/thebes/gfxDWriteFontList.cpp
@@ -350,7 +350,7 @@ public:
     }
 
 private:
-    IDWriteFontFace *mFontFace;
+    nsRefPtr<IDWriteFontFace> mFontFace;
     void            *mContext;
 };
 





More information about the tor-commits mailing list