| Index: src/ports/SkFontConfigInterface_android.cpp
|
| diff --git a/src/ports/SkFontConfigInterface_android.cpp b/src/ports/SkFontConfigInterface_android.cpp
|
| index 1323a62d7a5f37489100eb8ade2a5d6f34c9dd58..94662f5d5949844ec9a77fee69dcfd924c73f1ff 100644
|
| --- a/src/ports/SkFontConfigInterface_android.cpp
|
| +++ b/src/ports/SkFontConfigInterface_android.cpp
|
| @@ -132,11 +132,11 @@ private:
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| +SK_DECLARE_STATIC_MUTEX(gGetSingletonInterfaceMutex);
|
| static SkFontConfigInterfaceAndroid* getSingletonInterface() {
|
| - SK_DECLARE_STATIC_MUTEX(gMutex);
|
| static SkFontConfigInterfaceAndroid* gFontConfigInterface;
|
|
|
| - SkAutoMutexAcquire ac(gMutex);
|
| + SkAutoMutexAcquire ac(gGetSingletonInterfaceMutex);
|
| if (NULL == gFontConfigInterface) {
|
| // load info from a configuration file that we can use to populate the
|
| // system/fallback font structures
|
|
|