nsFontCache-mContext-unmanaged
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 160 fd41ae75c7983b0c8aeff594c5c4cb25cde2ce5e
permissions -rw-r--r--
State as of now

diff --git a/gfx/public/nsDeviceContext.h b/gfx/public/nsDeviceContext.h
--- a/gfx/public/nsDeviceContext.h
+++ b/gfx/public/nsDeviceContext.h
@@ -74,8 +74,7 @@ public:
   
 protected:
   nsVoidArray      mFontMetrics;
-  nsIDeviceContext *mContext; // we do not addref this since
-                              // ownership is implied. MMP.
+  nsIDeviceContext *mContext NS_UNMANAGED; // the device context owns us
 };
 
 // inherit visibility from the NS_GFX class declaration