Fix GetFontData calling itself repeatedly until the process crashes.
commit97823ee2d8054183f2b011313a06c28f1945ca23
authorjam <jam@chromium.org>
Thu, 5 Feb 2015 01:30:08 +0000 (4 17:30 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 5 Feb 2015 01:31:15 +0000 (5 01:31 +0000)
treec1c7f6016a9b01c23438a9f6d2c06c984490c226
parentd9e23a08df149f0483995f2463675f011e4d77ef
Fix GetFontData calling itself repeatedly until the process crashes.

It looks like the GetFontData patch for PDFium is only used on XP/Vista now. Previously PDFium was in a separate binary so we were just calling the real GetFontData from chrome_child.dll. That doesn't work anymore, so use the original function pointer.

BUG=455399

Review URL: https://codereview.chromium.org/903583002

Cr-Commit-Position: refs/heads/master@{#314706}
chrome/child/pdf_child_init.cc