Index: content/common/gpu/gpu_messages.h |
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
index 59b89fc4e6568e0b44fc740bea5cfe158d3e0403..008beee69566ae1fcad4ce0c4dad2ba5d82cbca5 100644 |
--- a/content/common/gpu/gpu_messages.h |
+++ b/content/common/gpu/gpu_messages.h |
@@ -331,8 +331,10 @@ IPC_MESSAGE_ROUTED1(AcceleratedSurfaceMsg_BufferPresented, |
AcceleratedSurfaceMsg_BufferPresented_Params) |
#endif |
+#if defined(OS_ANDROID) |
// Tells the GPU process to wake up the GPU because we're about to draw. |
-IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_WakeUpGpu) |
+IPC_MESSAGE_CONTROL0(GpuMsg_WakeUpGpu) |
+#endif |
// Tells the GPU process to remove all contexts. |
IPC_MESSAGE_CONTROL0(GpuMsg_Clean) |
@@ -426,11 +428,6 @@ IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, |
std::string /* header */, |
std::string /* message */) |
-// Tells the browser that a new accelerated surface was initialized. |
-IPC_MESSAGE_CONTROL2(GpuHostMsg_AcceleratedSurfaceInitialized, |
- int32 /* surface_id */, |
- int32 /* route_id */) |
- |
#if defined(OS_MACOSX) |
// Tells the browser that an accelerated surface has swapped. |