aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports/SkFontMgr_empty_factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ports/SkFontMgr_empty_factory.cpp')
-rw-r--r--src/ports/SkFontMgr_empty_factory.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ports/SkFontMgr_empty_factory.cpp b/src/ports/SkFontMgr_empty_factory.cpp
new file mode 100644
index 0000000000..ceed8f3320
--- /dev/null
+++ b/src/ports/SkFontMgr_empty_factory.cpp
@@ -0,0 +1,13 @@
+/*
+ * Copyright 2008 The Android Open Source Project
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "SkFontMgr.h"
+
+SkFontMgr* SkFontMgr::Factory() {
+ // Always return NULL, an empty SkFontMgr will be used.
+ return NULL;
+}