[Cronet] Delay StartNetLog and StopNetLog until native request context is initialized
[chromium-blink-merge.git] / ui / gfx / linux_font_delegate.cc
blob3dfdf942ece7aeda1ecdb6268ec0872bfe518cbf
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.
5 #include "ui/gfx/linux_font_delegate.h"
7 namespace {
9 gfx::LinuxFontDelegate* g_linux_font_delegate = 0;
11 } // namespace
13 namespace gfx {
15 void LinuxFontDelegate::SetInstance(LinuxFontDelegate* instance) {
16 g_linux_font_delegate = instance;
19 const LinuxFontDelegate* LinuxFontDelegate::instance() {
20 return g_linux_font_delegate;
23 } // namespace gfx