Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: content/common/gpu/gpu_command_buffer_stub.cc

Issue 10082018: Move BrokerDuplicateHandle() to be declared in content/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/gpu_command_buffer_stub.cc
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index 1f22bce1c9c07493b816e428fe6956f16e9bd371..90876b6109d893c0fb5020765c2f8ad862496303 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -24,7 +24,7 @@
#include "ui/gfx/gl/gl_switches.h"
#if defined(OS_WIN)
-#include "content/common/sandbox_policy.h"
+#include "content/public/common/sandbox_init.h"
#endif
GpuCommandBufferStub::SurfaceState::SurfaceState(int32 surface_id,
@@ -508,7 +508,7 @@ void GpuCommandBufferStub::OnGetTransferBuffer(
if (buffer.shared_memory) {
#if defined(OS_WIN)
transfer_buffer = NULL;
- sandbox::BrokerDuplicateHandle(buffer.shared_memory->handle(),
+ content::BrokerDuplicateHandle(buffer.shared_memory->handle(),
channel_->renderer_pid(), &transfer_buffer, FILE_MAP_READ |
FILE_MAP_WRITE, 0);
CHECK(transfer_buffer != NULL);

Powered by Google App Engine
This is Rietveld 408576698