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

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

Issue 1106563002: FakeVideoCaptureDevice: add support for capturing into Dma-Bufs using VGEM in CrOs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ermircan@ comments; removed GpuMemoryBuffer modifications (go in other CL) Created 5 years, 7 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 ab430a7625f31ecb52a1b94d90e1d34c17e63164..2d1c84d9d4c15153e0d632c2470d9d0f309d9d6d 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
@@ -397,6 +397,7 @@ class StubClient : public media::VideoCaptureDevice::Client {
return gfx::SHARED_MEMORY_BUFFER;
}
ClientBuffer AsClientBuffer() override { return nullptr; }
+ base::PlatformFile AsPlatformFile() override { return 0; }
private:
~AutoReleaseBuffer() override { pool_->RelinquishProducerReservation(id_); }

Powered by Google App Engine
This is Rietveld 408576698