SkFontMgr_empty_factory.cpp 327 B

12345678910111213
  1. /*
  2. * Copyright 2008 The Android Open Source Project
  3. *
  4. * Use of this source code is governed by a BSD-style license that can be
  5. * found in the LICENSE file.
  6. */
  7. #include "include/core/SkFontMgr.h"
  8. sk_sp<SkFontMgr> SkFontMgr::Factory() {
  9. // Always return nullptr, an empty SkFontMgr will be used.
  10. return nullptr;
  11. }