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

Unified Diff: content/browser/browser_child_process_host.cc

Issue 7866019: New implementation of font precache on Windows. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Update per code review Created 9 years, 3 months 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/browser_child_process_host.cc
diff --git a/content/browser/browser_child_process_host.cc b/content/browser/browser_child_process_host.cc
index 40b6598799cc55deb55ad34843031cc556c7a242..1eadddba20faa4b22400a417ee86fd8c5a968268 100644
--- a/content/browser/browser_child_process_host.cc
+++ b/content/browser/browser_child_process_host.cc
@@ -153,6 +153,10 @@ void BrowserChildProcessHost::OnChildDied() {
// Notify in the main loop of the disconnection.
Notify(content::NOTIFICATION_CHILD_PROCESS_HOST_DISCONNECTED);
}
+#if defined (OS_WIN)
+ ChildProcessHost::ReleaseCachedFont(
+ base::GetProcId(child_process_->GetHandle()));
+#endif
ChildProcessHost::OnChildDied();
}

Powered by Google App Engine
This is Rietveld 408576698