| Index: content/renderer/pepper/ppb_graphics_3d_impl.cc
|
| diff --git a/content/renderer/pepper/ppb_graphics_3d_impl.cc b/content/renderer/pepper/ppb_graphics_3d_impl.cc
|
| index 7486abce9ff90024dcc8938491f6c0ac378506e2..7111f56a7472e51ab3418868ad712505d086d978 100644
|
| --- a/content/renderer/pepper/ppb_graphics_3d_impl.cc
|
| +++ b/content/renderer/pepper/ppb_graphics_3d_impl.cc
|
| @@ -200,8 +200,10 @@ int32 PPB_Graphics3D_Impl::DoSwapBuffers() {
|
| commit_pending_ = true;
|
| } else {
|
| // Wait for the command to complete on the GPU to allow for throttling.
|
| - command_buffer_->Echo(base::Bind(&PPB_Graphics3D_Impl::OnSwapBuffers,
|
| - weak_ptr_factory_.GetWeakPtr()));
|
| + command_buffer_->SignalSyncPoint(
|
| + sync_point_,
|
| + base::Bind(&PPB_Graphics3D_Impl::OnSwapBuffers,
|
| + weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|
| return PP_OK_COMPLETIONPENDING;
|
|
|