Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: skia/ext/skia_sandbox_support_win.cc

Issue 8566026: Implement skia sandbox callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update per code review Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698