1// Copyright 2013 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "ui/gfx/linux_font_delegate.h" 6 7namespace { 8 9gfx::LinuxFontDelegate* g_linux_font_delegate = 0; 10 11} // namespace 12 13namespace gfx { 14 15void LinuxFontDelegate::SetInstance(LinuxFontDelegate* instance) { 16 g_linux_font_delegate = instance; 17} 18 19const LinuxFontDelegate* LinuxFontDelegate::instance() { 20 return g_linux_font_delegate; 21} 22 23} // namespace gfx 24