Index: content/common/gpu/gpu_command_buffer_stub.cc |
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc |
index 44eaf90cc85fb3634f118576f716f868d6d02ccf..bd969123cb12bb3d2557a5b707f118f452d185e4 100644 |
--- a/content/common/gpu/gpu_command_buffer_stub.cc |
+++ b/content/common/gpu/gpu_command_buffer_stub.cc |
@@ -567,7 +567,10 @@ void GpuCommandBufferStub::OnInitialize( |
} |
void GpuCommandBufferStub::OnSetLatencyInfo( |
- const ui::LatencyInfo& latency_info) { |
+ const std::vector<ui::LatencyInfo>& latency_info) { |
+ if (!ui::LatencyInfo::Verify(latency_info, |
+ "GpuCommandBufferStub::OnSetLatencyInfo")) |
+ return; |
if (!latency_info_callback_.is_null()) |
latency_info_callback_.Run(latency_info); |
} |