зеркало из https://github.com/mozilla/gecko-dev.git
Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob
This commit is contained in:
Родитель
0ce69de369
Коммит
18a9d1b7ae
|
@ -236,7 +236,7 @@ static EGLint gContextAttribsRobustness[] = {
|
|||
|
||||
static PRLibrary* LoadApitraceLibrary()
|
||||
{
|
||||
PRLibrary* sApitraceLibrary = NULL;
|
||||
static PRLibrary* sApitraceLibrary = NULL;
|
||||
|
||||
if (sApitraceLibrary)
|
||||
return sApitraceLibrary;
|
||||
|
|
Загрузка…
Ссылка в новой задаче