Index: content/common/gpu/gpu_messages.h |
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
index 6bdec50cb74e9332ee46d1973d372ffab4668364..2f30dacd41ced89f019bcc70118e666041990247 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::SwapResult::SWAP_RESULT_LAST) |
IPC_ENUM_TRAITS_MAX_VALUE(gpu::MemoryAllocation::PriorityCutoff, |
gpu::MemoryAllocation::CUTOFF_LAST) |
IPC_ENUM_TRAITS_MAX_VALUE(gpu::error::Error, gpu::error::kErrorLast) |
@@ -558,8 +560,9 @@ IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_Destroyed, |
gpu::error::Error /* error */) |
// 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, |