aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/ports/SkFontConfigInterface.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ports/SkFontConfigInterface.cpp b/src/ports/SkFontConfigInterface.cpp
index a30bd2dac2..864d6159ef 100644
--- a/src/ports/SkFontConfigInterface.cpp
+++ b/src/ports/SkFontConfigInterface.cpp
@@ -6,7 +6,6 @@
*/
#include "SkFontConfigInterface.h"
-#include "SkFontMgr.h"
#include "SkMutex.h"
#include "SkRefCnt.h"
@@ -22,13 +21,6 @@ sk_sp<SkFontConfigInterface> SkFontConfigInterface::RefGlobal() {
return sk_ref_sp(SkFontConfigInterface::GetSingletonDirectInterface());
}
-SkFontConfigInterface* SkFontConfigInterface::SetGlobal(SkFontConfigInterface* fc) {
- SkAutoMutexAcquire ac(gFontConfigInterfaceMutex);
-
- gFontConfigInterface = sk_ref_sp(fc);
- return fc;
-}
-
void SkFontConfigInterface::SetGlobal(sk_sp<SkFontConfigInterface> fc) {
SkAutoMutexAcquire ac(gFontConfigInterfaceMutex);