Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob

This commit is contained in:
George Wright 2012-03-04 21:43:51 -05:00
parent 02e577f6ff
commit bebb557f97

View File

@ -236,7 +236,7 @@ static EGLint gContextAttribsRobustness[] = {
static PRLibrary* LoadApitraceLibrary()
{
PRLibrary* sApitraceLibrary = NULL;
static PRLibrary* sApitraceLibrary = NULL;
if (sApitraceLibrary)
return sApitraceLibrary;