summaryrefslogtreecommitdiffstats
path: root/ui/gfx/linux_font_delegate.cc
blob: 3dfdf942ece7aeda1ecdb6268ec0872bfe518cbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/gfx/linux_font_delegate.h"

namespace {

gfx::LinuxFontDelegate* g_linux_font_delegate = 0;

}  // namespace

namespace gfx {

void LinuxFontDelegate::SetInstance(LinuxFontDelegate* instance) {
  g_linux_font_delegate = instance;
}

const LinuxFontDelegate* LinuxFontDelegate::instance() {
  return g_linux_font_delegate;
}

}  // namespace gfx