Index: content/browser/media/capture/desktop_capture_device_aura.cc |
diff --git a/content/browser/media/capture/desktop_capture_device_aura.cc b/content/browser/media/capture/desktop_capture_device_aura.cc |
index 08aec1eba2e6976f0c02edad56aefe0dfde5abe8..7e3ad28b0d2fb453181688e74fc5feb340141683 100644 |
--- a/content/browser/media/capture/desktop_capture_device_aura.cc |
+++ b/content/browser/media/capture/desktop_capture_device_aura.cc |
@@ -296,14 +296,9 @@ void CopyOutputFinishedForVideo( |
} |
void RunSingleReleaseCallback(scoped_ptr<cc::SingleReleaseCallback> cb, |
- const std::vector<uint32>& sync_points) { |
+ uint32 sync_point) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- GLHelper* gl_helper = ImageTransportFactory::GetInstance()->GetGLHelper(); |
- DCHECK(gl_helper); |
- for (unsigned i = 0; i < sync_points.size(); i++) |
- gl_helper->WaitSyncPoint(sync_points[i]); |
- uint32 new_sync_point = gl_helper->InsertSyncPoint(); |
- cb->Run(new_sync_point, false); |
+ cb->Run(sync_point, false); |
} |
void DesktopVideoCaptureMachine::DidCopyOutput( |