diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 02:35:48 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 02:35:48 +0000 |
commit | cd781859e94bc4cedb35371cf4d6d1e161e87a11 (patch) | |
tree | 568ca78f3ec265af5dae2b1f178fdc95604f0134 /ppapi/proxy/ppapi_proxy_test.cc | |
parent | d38c1b0a6e3f4cfeb5a5700f00523c5364d49f27 (diff) | |
download | chromium_src-cd781859e94bc4cedb35371cf4d6d1e161e87a11.zip chromium_src-cd781859e94bc4cedb35371cf4d6d1e161e87a11.tar.gz chromium_src-cd781859e94bc4cedb35371cf4d6d1e161e87a11.tar.bz2 |
Revert 118385 since this seems to break mac-debug build.
"""
Remove the Webkit thread in the PPAPI plugin process and perform the text and font operations
on the PPAPI main thread. This thread is now registered as the Webkit thread.
Fixes performance issues seen in Flapper with text and font operations. It appears that the perf
issues occur due to context switching between the main thread and the webkit thread.
As per comments from Brett moving the font forwarding code inline to ppb_font_shared.cc. This file
has been moved to ppapi/shared_impl/private as it now brings in a dependency on WebKit. The font
creation has been wired up to the ResourceCreationAPI as suggested.
BUG=110190
R=brettw
Review URL: https://chromiumcodereview.appspot.com/9133015
TBR=ananta@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9150055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppapi_proxy_test.cc')
-rw-r--r-- | ppapi/proxy/ppapi_proxy_test.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ppapi/proxy/ppapi_proxy_test.cc b/ppapi/proxy/ppapi_proxy_test.cc index 7bfacc5..15dc967 100644 --- a/ppapi/proxy/ppapi_proxy_test.cc +++ b/ppapi/proxy/ppapi_proxy_test.cc @@ -212,6 +212,17 @@ void PluginProxyTestHarness::PluginDelegateMock::Unregister( uint32 plugin_dispatcher_id) { } +ppapi::WebKitForwarding* +PluginProxyTestHarness::PluginDelegateMock::GetWebKitForwarding() { + NOTREACHED(); + return NULL; +} + +void PluginProxyTestHarness::PluginDelegateMock::PostToWebKitThread( + const tracked_objects::Location& from_here, const base::Closure& task) { + NOTREACHED(); +} + bool PluginProxyTestHarness::PluginDelegateMock::SendToBrowser( IPC::Message* msg) { NOTREACHED(); |