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

Unified Diff: skia/ext/fontmgr_default_win.cc

Issue 1519243002: Remove many unused files from //skia/ext (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/fontmgr_default_win.h ('k') | skia/ext/image_operations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/fontmgr_default_win.cc
diff --git a/skia/ext/fontmgr_default_win.cc b/skia/ext/fontmgr_default_win.cc
deleted file mode 100644
index 3b1031fa9b84153cd349e6843584e4f55ae8622b..0000000000000000000000000000000000000000
--- a/skia/ext/fontmgr_default_win.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2014 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 "skia/ext/fontmgr_default_win.h"
-
-#include "third_party/skia/include/ports/SkFontMgr.h"
-#include "third_party/skia/include/ports/SkTypeface_win.h"
-
-namespace {
-
-SkFontMgr* g_default_fontmgr;
-
-} // namespace
-
-void SetDefaultSkiaFactory(SkFontMgr* fontmgr) {
- g_default_fontmgr = fontmgr;
-}
-
-SK_API SkFontMgr* SkFontMgr::Factory() {
- // This will be set when DirectWrite is in use, and an SkFontMgr has been
- // created with the pre-sandbox warmed up one. Otherwise, we fallback to a
- // GDI SkFontMgr which is used in the browser.
- if (g_default_fontmgr)
- return SkRef(g_default_fontmgr);
- return SkFontMgr_New_GDI();
-}
« no previous file with comments | « skia/ext/fontmgr_default_win.h ('k') | skia/ext/image_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698