aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports/SkFontMgr_win_dw_factory.cpp
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-06-15 15:17:21 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-15 15:17:21 -0700
commit5cf19498f9455e4aa8685a9d7775fefe42deb22b (patch)
tree598b9c3f49555de81bef4a0b8af1eb1a2a56b545 /src/ports/SkFontMgr_win_dw_factory.cpp
parent109a23d64ff9cf210e6b0aa8940b4fcea3f05a97 (diff)
Refactor SkFontHost_linux into SkFontMgr_custom.
Diffstat (limited to 'src/ports/SkFontMgr_win_dw_factory.cpp')
-rw-r--r--src/ports/SkFontMgr_win_dw_factory.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ports/SkFontMgr_win_dw_factory.cpp b/src/ports/SkFontMgr_win_dw_factory.cpp
new file mode 100644
index 0000000000..85ed56d695
--- /dev/null
+++ b/src/ports/SkFontMgr_win_dw_factory.cpp
@@ -0,0 +1,13 @@
+/*
+ * Copyright 2015 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "SkFontMgr.h"
+#include "SkTypeface_win.h"
+
+SkFontMgr* SkFontMgr::Factory() {
+ return SkFontMgr_New_DirectWrite();
+}