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

Unified Diff: chrome/utility/font_cache_handler_win.cc

Issue 729103002: Revert of DirectWrite Font Cache browser side hookup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/utility/font_cache_handler_win.h ('k') | content/browser/dwrite_font_cache_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/font_cache_handler_win.cc
diff --git a/chrome/utility/font_cache_handler_win.cc b/chrome/utility/font_cache_handler_win.cc
deleted file mode 100644
index 19e097ba542694d5ec274f978125cf00fc6a727b..0000000000000000000000000000000000000000
--- a/chrome/utility/font_cache_handler_win.cc
+++ /dev/null
@@ -1,24 +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 "chrome/utility/font_cache_handler_win.h"
-
-#include "chrome/common/chrome_utility_messages.h"
-#include "content/public/common/dwrite_font_platform_win.h"
-#include "content/public/utility/utility_thread.h"
-
-bool FontCacheHandler::OnMessageReceived(const IPC::Message& message) {
- bool handled = true;
- IPC_BEGIN_MESSAGE_MAP(FontCacheHandler, message)
- IPC_MESSAGE_HANDLER(ChromeUtilityHostMsg_BuildDirectWriteFontCache,
- OnBuildFontCache)
- IPC_MESSAGE_UNHANDLED(handled = false)
- IPC_END_MESSAGE_MAP()
- return handled;
-}
-
-void FontCacheHandler::OnBuildFontCache(const base::FilePath& full_path) {
- content::BuildFontCache(full_path);
- content::UtilityThread::Get()->ReleaseProcessIfNeeded();
-}
« no previous file with comments | « chrome/utility/font_cache_handler_win.h ('k') | content/browser/dwrite_font_cache_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698