| Index: content/common/gpu/gpu_command_buffer_stub.cc
|
| ===================================================================
|
| --- content/common/gpu/gpu_command_buffer_stub.cc (revision 163290)
|
| +++ content/common/gpu/gpu_command_buffer_stub.cc (working copy)
|
| @@ -37,6 +37,7 @@
|
| #include "content/common/gpu/stream_texture_manager_android.h"
|
| #endif
|
|
|
| +namespace content {
|
| namespace {
|
|
|
| // The GpuCommandBufferMemoryTracker class provides a bridge between the
|
| @@ -75,7 +76,7 @@
|
| static size_t g_last_url_hash = 0;
|
| if (url_hash != g_last_url_hash) {
|
| g_last_url_hash = url_hash;
|
| - content::GetContentClient()->SetActiveURL(url);
|
| + GetContentClient()->SetActiveURL(url);
|
| }
|
| }
|
|
|
| @@ -645,7 +646,7 @@
|
| if (buffer.shared_memory) {
|
| #if defined(OS_WIN)
|
| transfer_buffer = NULL;
|
| - content::BrokerDuplicateHandle(buffer.shared_memory->handle(),
|
| + BrokerDuplicateHandle(buffer.shared_memory->handle(),
|
| channel_->renderer_pid(), &transfer_buffer, FILE_MAP_READ |
|
| FILE_MAP_WRITE, 0);
|
| DCHECK(transfer_buffer != NULL);
|
| @@ -844,4 +845,6 @@
|
| surface_->SetFrontbufferAllocation(allocation.suggest_have_frontbuffer);
|
| }
|
|
|
| +} // namespace content
|
| +
|
| #endif // defined(ENABLE_GPU)
|
|
|