blob: 116ba8380ab82a01686e4800bbff5170b9cc07a5 [file] [log] [blame]
/*
* Copyright 2009-2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkFontConfigInterface_direct.h"
#include "SkOnce.h"
SkFontConfigInterface* SkFontConfigInterface::GetSingletonDirectInterface() {
static SkFontConfigInterface* singleton;
static SkOnce once;
once([]{ singleton = new SkFontConfigInterfaceDirect(); });
return singleton;
}