summaryrefslogtreecommitdiffstats
path: root/content/gpu/gpu_child_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/gpu/gpu_child_thread.cc')
-rw-r--r--content/gpu/gpu_child_thread.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 0734fd3..6eee722 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -517,8 +517,10 @@ void GpuChildThread::OnGpuSwitched() {
#if defined(OS_MACOSX)
void GpuChildThread::OnBufferPresented(const BufferPresentedParams& params) {
- if (gpu_channel_manager_)
- gpu_channel_manager_->BufferPresented(params);
+ if (gpu_channel_manager_) {
+ gpu_channel_manager_->BufferPresented(
+ params.surface_id, params.vsync_timebase, params.vsync_interval);
+ }
}
#endif