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/renderer/webplugin_delegate_proxy.cc | |
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/renderer/webplugin_delegate_proxy.cc')
-rw-r--r-- | content/renderer/webplugin_delegate_proxy.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/webplugin_delegate_proxy.cc b/content/renderer/webplugin_delegate_proxy.cc index 16739b3..d319dbd 100644 --- a/content/renderer/webplugin_delegate_proxy.cc +++ b/content/renderer/webplugin_delegate_proxy.cc @@ -62,7 +62,7 @@ #endif #if defined(OS_WIN) -#include "content/common/sandbox_policy.h" +#include "content/public/common/sandbox_init.h" #endif using WebKit::WebBindings; @@ -503,7 +503,7 @@ static void CopyTransportDIBHandleForMessage( #elif defined(OS_WIN) // On Windows we need to duplicate the handle for the plugin process. *handle_out = NULL; - sandbox::BrokerDuplicateHandle(handle_in, peer_pid, handle_out, + content::BrokerDuplicateHandle(handle_in, peer_pid, handle_out, FILE_MAP_READ | FILE_MAP_WRITE, 0); DCHECK(*handle_out != NULL); #else |