Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1552)

Unified Diff: content/browser/media/capture/web_contents_video_capture_device_unittest.cc

Issue 2686763002: [Mojo Video Capture] Split OnIncomingCapturedVideoFrame() to OnNewBuffer() and OnFrameReadyInBuffer( (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/media/capture/web_contents_video_capture_device_unittest.cc
diff --git a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
index 0fb5bd9eb46616df242fe3e65ef96f9d3f56be6a..b6d12cfcb8cdd1ffd932003fc8c01755fa0e4e00 100644
--- a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
@@ -284,8 +284,7 @@ class StubClient : public media::VideoCaptureDevice::Client {
// analysis is too slow, the backlog of frames will grow without bound and
// trouble erupts. http://crbug.com/174519
using media::VideoFrame;
- auto buffer_access =
- buffer.handle_provider()->GetHandleForInProcessAccess();
+ auto buffer_access = buffer.handle_provider->GetHandleForInProcessAccess();
auto frame = VideoFrame::WrapExternalSharedMemory(
media::PIXEL_FORMAT_I420, format.frame_size, visible_rect,
format.frame_size, buffer_access->data(), buffer_access->mapped_size(),

Powered by Google App Engine
This is Rietveld 408576698