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

Unified Diff: content/browser/dwrite_font_cache_win.cc

Issue 724633002: DirectWrite Font Cache browser side hookup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review... Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/dwrite_font_cache_win.cc
diff --git a/content/browser/dwrite_font_cache_win.cc b/content/browser/dwrite_font_cache_win.cc
deleted file mode 100644
index b5e885eb9ed6e2659c76f5852c29cc4c12c9ad82..0000000000000000000000000000000000000000
--- a/content/browser/dwrite_font_cache_win.cc
+++ /dev/null
@@ -1,23 +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 "content/public/common/dwrite_font_cache_win.h"
-
-#include "base/files/file_path.h"
-#include "content/common/dwrite_font_platform_win.h"
-#include "content/public/browser/browser_thread.h"
-
-namespace content {
-
-bool InitializeFontCache(const base::FilePath& path) {
- if (!LoadFontCache(path)) {
- content::BrowserThread::PostTask(
- content::BrowserThread::FILE, FROM_HERE, base::Bind(
- base::IgnoreResult(&content::BuildAndLoadFontCache),
- path));
- }
- return true;
-}
-
-} // namespace content

Powered by Google App Engine
This is Rietveld 408576698