| Index: chrome/renderer/chrome_render_process_observer.cc
|
| diff --git a/chrome/renderer/chrome_render_process_observer.cc b/chrome/renderer/chrome_render_process_observer.cc
|
| index 380213abcb8e9a0d67df5d2f27d421c1a7a860f8..ced55938d68462a1caaf51fc38e37afd650568d9 100644
|
| --- a/chrome/renderer/chrome_render_process_observer.cc
|
| +++ b/chrome/renderer/chrome_render_process_observer.cc
|
| @@ -163,8 +163,11 @@ DWORD WINAPI GetFontDataPatch(HDC hdc,
|
| LOGFONT logfont;
|
| if (GetObject(font, sizeof(LOGFONT), &logfont)) {
|
| std::vector<char> font_data;
|
| - if (RenderThread::current()->Send(new ViewHostMsg_PreCacheFont(logfont)))
|
| + if (RenderThread::current()->Send(
|
| + new ViewHostMsg_PreCacheFont(logfont, GetCurrentProcessId())))
|
| rv = GetFontData(hdc, table, offset, buffer, length);
|
| + RenderThread::current()->Send((
|
| + new ViewHostMsg_ReleaseCachedFont(GetCurrentProcessId())));
|
| }
|
| }
|
| return rv;
|
|
|