Index: content/common/gpu/gpu_messages.h |
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
index d984ac394935f9405d96d75b971ba2767ae31169..546dcd0490b9b9d257040c99e6cd32fa16a46999 100644 |
--- a/content/common/gpu/gpu_messages.h |
+++ b/content/common/gpu/gpu_messages.h |
@@ -33,6 +33,7 @@ |
#include "ui/gfx/geometry/size.h" |
#include "ui/gfx/gpu_memory_buffer.h" |
#include "ui/gfx/native_widget_types.h" |
+#include "ui/gfx/swap_result.h" |
#include "ui/gl/gpu_preference.h" |
#if defined(OS_ANDROID) |
@@ -52,6 +53,7 @@ IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuPreference, |
gfx::GpuPreferenceLast) |
IPC_ENUM_TRAITS_MAX_VALUE(gfx::SurfaceType, |
gfx::SURFACE_TYPE_LAST) |
+IPC_ENUM_TRAITS_MAX_VALUE(gfx::SwapResult, gfx::SWAP_RESULT_LAST) |
IPC_ENUM_TRAITS_MAX_VALUE(gpu::MemoryAllocation::PriorityCutoff, |
gpu::MemoryAllocation::CUTOFF_LAST) |
IPC_ENUM_TRAITS_MAX_VALUE(gpu::error::ContextLostReason, |
@@ -556,8 +558,9 @@ IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed, |
gpu::error::ContextLostReason /* reason */) |
// Tells the browser that SwapBuffers returned and passes latency info |
-IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SwapBuffersCompleted, |
- std::vector<ui::LatencyInfo> /* latency_info */) |
+IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SwapBuffersCompleted, |
+ std::vector<ui::LatencyInfo> /* latency_info */, |
+ gfx::SwapResult /* result */) |
// Tells the browser about updated parameters for vsync alignment. |
IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters, |