No need to use threadsafe refcounting for rendering contexts, bug 110933. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@147970 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6781f9ae91
commit
9079f3cefa
@ -48,7 +48,7 @@
|
||||
#include <math.h>
|
||||
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsRenderingContextBeOS, nsIRenderingContext)
|
||||
NS_IMPL_ISUPPORTS1(nsRenderingContextBeOS, nsIRenderingContext)
|
||||
|
||||
static NS_DEFINE_CID(kRegionCID, NS_REGION_CID);
|
||||
|
||||
|
||||
@ -58,7 +58,7 @@
|
||||
#include <gdk/gdkwindow.h>
|
||||
#endif
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsRenderingContextGTK, nsIRenderingContext)
|
||||
NS_IMPL_ISUPPORTS1(nsRenderingContextGTK, nsIRenderingContext)
|
||||
|
||||
static NS_DEFINE_CID(kRegionCID, NS_REGION_CID);
|
||||
|
||||
|
||||
@ -131,7 +131,7 @@ PS_State :: ~PS_State()
|
||||
}
|
||||
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsRenderingContextPS, nsIRenderingContext)
|
||||
NS_IMPL_ISUPPORTS1(nsRenderingContextPS, nsIRenderingContext)
|
||||
|
||||
/** ---------------------------------------------------
|
||||
* See documentation in nsIRenderingContext.h
|
||||
|
||||
@ -58,7 +58,7 @@
|
||||
|
||||
#define NS_TO_XLIBRGB_RGB(ns) (ns & 0xff) << 16 | (ns & 0xff00) | ((ns >> 16) & 0xff)
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsRenderingContextXlib, nsIRenderingContext)
|
||||
NS_IMPL_ISUPPORTS1(nsRenderingContextXlib, nsIRenderingContext)
|
||||
|
||||
#ifdef PR_LOGGING
|
||||
static PRLogModuleInfo * RenderingContextXlibLM = PR_NewLogModule("RenderingContextXlib");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user