Index: src/ports/SkFontConfigInterface_direct.cpp |
diff --git a/src/ports/SkFontConfigInterface_direct.cpp b/src/ports/SkFontConfigInterface_direct.cpp |
index bc3dede40d24c86748eb22cdef5bb649b39a66d3..dc9afbae1f47b642704ca02df68923145f38898f 100644 |
--- a/src/ports/SkFontConfigInterface_direct.cpp |
+++ b/src/ports/SkFontConfigInterface_direct.cpp |
@@ -124,12 +124,8 @@ private: |
SkMutex mutex_; |
}; |
-namespace { |
-SkFontConfigInterface* create_direct() { return SkNEW(SkFontConfigInterfaceDirect); } |
-} // namespace |
- |
SkFontConfigInterface* SkFontConfigInterface::GetSingletonDirectInterface() { |
- SK_DECLARE_STATIC_LAZY_PTR(SkFontConfigInterface, direct, create_direct); |
+ SK_DECLARE_STATIC_LAZY_PTR(SkFontConfigInterfaceDirect, direct); |
return direct.get(); |
} |