Fix Pepper plugin sandbox interface for out-of-process plugin.
commit92485563d0e0ea384fbe3a411e815adbc88f7ba8
authorkochi@chromium.org <kochi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 30 Jun 2011 01:58:08 +0000 (30 01:58 +0000)
committerkochi@chromium.org <kochi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 30 Jun 2011 01:58:08 +0000 (30 01:58 +0000)
treefd25537b30ff49a0ddab767cd3f8b615f470537c
parentedde3626e123281a42544347f3d8bbd0d3d108df
Fix Pepper plugin sandbox interface for out-of-process plugin.

On Chrome OS Flash player is running out-of-process by default,
and it is failing to handle font fallback because in PpapiWebkitClientImpl
SandboxSupport object is not instantiated.

Without SandboxSupport instance, all the font related requests are handled
locally, and fail to communicate with Fontconfig because it is sandboxed.

Instantiating SandboxSupport will properly route font related requests
to Sandbox IPC process to communicate to Fontconfig.

BUG=87039, chromium-os:15882
TEST=Set Chrome OS to English UI and open http://weathernews.jp to see if
all the characters are rendered properly.

Review URL: http://codereview.chromium.org/7273062

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91076 0039d316-1c4b-4281-b951-d872f2087c98
content/ppapi_plugin/ppapi_webkitclient_impl.cc