Flutter Engine
The Flutter Engine
SkFontConfigInterface_direct_factory.cpp
Go to the documentation of this file.
1/*
2 * Copyright 2009-2015 Google Inc.
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
10
12 static SkFontConfigInterface* singleton;
13 static SkOnce once;
14 once([]{ singleton = new SkFontConfigInterfaceDirect(nullptr); });
15 return singleton;
16}
static SkFontConfigInterface * GetSingletonDirectInterface()
Definition: SkOnce.h:22