Index: content/common/gpu/gpu_channel.cc |
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc |
index e69d197bd778adcf9519b2d71647b3e868b3ea34..741dbb0bc09bd4d0e2fd524cf36ec6e77324b4af 100644 |
--- a/content/common/gpu/gpu_channel.cc |
+++ b/content/common/gpu/gpu_channel.cc |
@@ -182,25 +182,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); |
@@ -208,9 +190,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 |