OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2006-2008 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 "build/build_config.h" |
| 6 |
| 7 #if defined (OS_WIN) |
| 8 |
| 9 #include <windows.h> |
| 10 |
| 11 #include "skia_sandbox_support_win.h" |
| 12 #include "SkFontHost.h" |
| 13 #include "SkTypeface_win.h" |
| 14 |
| 15 // static |
| 16 void SkFontHost::EnsureTypefaceAccessible(const SkTypeface& typeface) { |
| 17 if (g_skia_sandbox_support) { |
| 18 LOGFONT lf; |
| 19 SkLOGFONTFromTypeface(&typeface, &lf); |
| 20 g_skia_sandbox_support(lf); |
| 21 } |
| 22 } |
| 23 |
| 24 #endif // defined (OS_WIN) |
OLD | NEW |