aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2018-05-15 14:17:25 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-15 18:58:53 +0000
commit31aa27da9dcb835cba04918a2d4db921d3552881 (patch)
treec2f131493699d8a874de90c92f19ae198f1ded67 /src/ports
parent0e38394ffc341478b4385b9a85be02098abd0603 (diff)
Remove non-smart SkFontConfigInterface::SetGlobal.
This method is no longer used and is superseded by the 'smart' version. Change-Id: I491dda095224d443d184e8d73b36b1328227c99e Reviewed-on: https://skia-review.googlesource.com/128312 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'src/ports')
-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);