Index: content/common/gpu/gpu_channel.cc |
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc |
index 5c430c466b4754eaa5fcac461e5da80835138fe1..4270bb03d0f3a2ea99e3b8434bd96ebdf6144dea 100644 |
--- a/content/common/gpu/gpu_channel.cc |
+++ b/content/common/gpu/gpu_channel.cc |
@@ -234,25 +234,7 @@ GpuCommandBufferStub* GpuChannel::LookupCommandBuffer(int32 route_id) { |
return stubs_.Lookup(route_id); |
} |
-#if defined(TOUCH_UI) |
-void GpuChannel::AcceleratedSurfaceIOSurfaceSet( |
- int32 route_id, uint64 surface_id) { |
- GpuCommandBufferStub* stub = stubs_.Lookup(route_id); |
- if (stub == NULL) |
- return; |
- stub->AcceleratedSurfaceIOSurfaceSet(surface_id); |
-} |
- |
-void GpuChannel::AcceleratedSurfaceReleased( |
- int32 route_id, uint64 surface_id) { |
- GpuCommandBufferStub* stub = stubs_.Lookup(route_id); |
- if (stub == NULL) |
- return; |
- stub->AcceleratedSurfaceReleased(surface_id); |
-} |
-#endif |
- |
-#if defined(OS_MACOSX) || defined(TOUCH_UI) |
+#if defined(OS_MACOSX) |
void GpuChannel::AcceleratedSurfaceBuffersSwapped( |
int32 route_id, uint64 swap_buffers_count) { |
GpuCommandBufferStub* stub = stubs_.Lookup(route_id); |
@@ -260,9 +242,7 @@ void GpuChannel::AcceleratedSurfaceBuffersSwapped( |
return; |
stub->AcceleratedSurfaceBuffersSwapped(swap_buffers_count); |
} |
-#endif |
-#if defined(OS_MACOSX) |
void GpuChannel::DestroyCommandBufferByViewId(int32 render_view_id) { |
// This responds to a message from the browser process to destroy the command |
// buffer when the window with a GpuScheduler is closed (see |