Index: src/ports/SkFontMgr_win_dw.cpp |
diff --git a/src/ports/SkFontMgr_win_dw.cpp b/src/ports/SkFontMgr_win_dw.cpp |
index fe82258c6803e9aaaeb54fad4f9e346fa4a6895e..863377564a7f5fbf49d6c6ff5c2c0c0526030349 100644 |
--- a/src/ports/SkFontMgr_win_dw.cpp |
+++ b/src/ports/SkFontMgr_win_dw.cpp |
@@ -728,8 +728,9 @@ SkTypeface* SkFontStyleSet_DirectWrite::matchStyle(const SkFontStyle& pattern) { |
} |
//////////////////////////////////////////////////////////////////////////////// |
+#include "SkTypeface_win.h" |
-SkFontMgr* SkFontMgr_New_DirectWrite(IDWriteFactory* factory) { |
+SK_API SkFontMgr* SkFontMgr_New_DirectWrite(IDWriteFactory* factory) { |
if (NULL == factory) { |
factory = sk_get_dwrite_factory(); |
if (NULL == factory) { |
@@ -761,11 +762,8 @@ SkFontMgr* SkFontMgr_New_DirectWrite(IDWriteFactory* factory) { |
localeName, localeNameLen)); |
} |
-//////////////////////////////////////////////////////////////////////////////// |
- |
#include "SkFontMgr_indirect.h" |
-#include "SkTypeface_win.h" |
-SkFontMgr* SkFontMgr_New_DirectWriteRenderer(SkRemotableFontMgr* proxy) { |
+SK_API SkFontMgr* SkFontMgr_New_DirectWriteRenderer(SkRemotableFontMgr* proxy) { |
SkAutoTUnref<SkFontMgr> impl(SkFontMgr_New_DirectWrite()); |
if (impl.get() == NULL) { |
return NULL; |