summaryrefslogtreecommitdiff
path: root/chromium/ui/gfx/skia_font_delegate.cc
blob: f7c24c5f5b826437550a4f5efb25d92857989864 (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/skia_font_delegate.h"

namespace {

gfx::SkiaFontDelegate* g_skia_font_delegate = 0;

}  // namespace

namespace gfx {

void SkiaFontDelegate::SetInstance(SkiaFontDelegate* instance) {
  g_skia_font_delegate = instance;
}

const SkiaFontDelegate* SkiaFontDelegate::instance() {
  return g_skia_font_delegate;
}

}  // namespace gfx