diff options
author | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-16 15:32:36 +0000 |
---|---|---|
committer | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-16 15:32:36 +0000 |
commit | d30ce6ef3a1ced147da1eeab0780bc8e5fce7238 (patch) | |
tree | abda59e11b93627d9e2d1cdc1d2a217e20f12aa4 /content/plugin | |
parent | 7f8ce3d9311fd6233f993bef7a66fc7912dfd8d1 (diff) | |
download | chromium_src-d30ce6ef3a1ced147da1eeab0780bc8e5fce7238.zip chromium_src-d30ce6ef3a1ced147da1eeab0780bc8e5fce7238.tar.gz chromium_src-d30ce6ef3a1ced147da1eeab0780bc8e5fce7238.tar.bz2 |
Move BrokerDuplicateHandle() to be declared in content/public
This is necessary so that BrokerDuplicateHandle() can be used from
chrome/browser while passing the check_deps rules.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=2719
TEST=build
Review URL: https://chromiumcodereview.appspot.com/10082018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132405 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/plugin')
-rw-r--r-- | content/plugin/webplugin_proxy.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc index 704058d..ee1c721 100644 --- a/content/plugin/webplugin_proxy.cc +++ b/content/plugin/webplugin_proxy.cc @@ -36,7 +36,7 @@ #endif #if defined(OS_WIN) -#include "content/common/sandbox_policy.h" +#include "content/public/common/sandbox_init.h" #endif using WebKit::WebBindings; @@ -133,7 +133,7 @@ void WebPluginProxy::WillDestroyWindow(gfx::PluginWindowHandle window) { #if defined(OS_WIN) void WebPluginProxy::SetWindowlessPumpEvent(HANDLE pump_messages_event) { HANDLE pump_messages_event_for_renderer = NULL; - sandbox::BrokerDuplicateHandle(pump_messages_event, channel_->peer_pid(), + content::BrokerDuplicateHandle(pump_messages_event, channel_->peer_pid(), &pump_messages_event_for_renderer, SYNCHRONIZE | EVENT_MODIFY_STATE, 0); DCHECK(pump_messages_event_for_renderer != NULL); |