diff options
author | ddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-16 22:12:45 +0000 |
---|---|---|
committer | ddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-16 22:12:45 +0000 |
commit | e2614c60e3bab6cc1b949ecd8101189d285da17f (patch) | |
tree | f664f4e27974b7dee547aba035abef48e27c167c /content/renderer/pepper_plugin_delegate_impl.cc | |
parent | 64a2958841eb968837a90c9a738d9b68e33abb70 (diff) | |
download | chromium_src-e2614c60e3bab6cc1b949ecd8101189d285da17f.zip chromium_src-e2614c60e3bab6cc1b949ecd8101189d285da17f.tar.gz chromium_src-e2614c60e3bab6cc1b949ecd8101189d285da17f.tar.bz2 |
Refactored ppapi Dispatcher to share common code between the plugin and broker dispatchers.
Common code is in DispatcherBase. The base of the dispatcher for plugins remains Dispatcher. The base of the dispatcher for Brokers is BrokerDispatcher.
BUG=none
TEST=ppapi out-of-process plugins
Review URL: http://codereview.chromium.org/6859003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81883 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/pepper_plugin_delegate_impl.cc')
-rw-r--r-- | content/renderer/pepper_plugin_delegate_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc index e63dd01..95d24db 100644 --- a/content/renderer/pepper_plugin_delegate_impl.cc +++ b/content/renderer/pepper_plugin_delegate_impl.cc @@ -318,8 +318,8 @@ bool DispatcherWrapper::Init( dispatcher_.reset(new pp::proxy::HostDispatcher( plugin_process_handle, pp_module, local_get_interface)); - if (!dispatcher_->InitWithChannel(PepperPluginRegistry::GetInstance(), - channel_handle, true)) { + if (!dispatcher_->InitHostWithChannel(PepperPluginRegistry::GetInstance(), + channel_handle, true)) { dispatcher_.reset(); return false; } |