Home | History | Annotate | Download | only in gfx
      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 
      7 namespace {
      8 
      9 gfx::LinuxFontDelegate* g_linux_font_delegate = 0;
     10 
     11 }  // namespace
     12 
     13 namespace gfx {
     14 
     15 void LinuxFontDelegate::SetInstance(LinuxFontDelegate* instance) {
     16   g_linux_font_delegate = instance;
     17 }
     18 
     19 const LinuxFontDelegate* LinuxFontDelegate::instance() {
     20   return g_linux_font_delegate;
     21 }
     22 
     23 }  // namespace gfx
     24