Index: content/browser/renderer_host/render_message_filter.cc |
diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc |
index 216d089790e5075ba8da1a59b095a9ca392e5ca4..5f9b4b9fc79825020fbd680c7ee934731fa4bd5e 100644 |
--- a/content/browser/renderer_host/render_message_filter.cc |
+++ b/content/browser/renderer_host/render_message_filter.cc |
@@ -240,7 +240,9 @@ void RenderMessageFilter::SendLoadFontReply(IPC::Message* reply, |
result->font_data_size = 0; |
result->font_id = 0; |
} else { |
- result->font_data.GiveToProcess(base::GetCurrentProcessHandle(), &handle); |
+ handle = result->font_data.handle().Duplicate(); |
+ result->font_data.Unmap(); |
+ result->font_data.Close(); |
} |
RenderProcessHostMsg_LoadFont::WriteReplyParams( |
reply, result->font_data_size, handle, result->font_id); |