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

Unified Diff: media/capture/video/fake_video_capture_device_unittest.cc

Issue 2818513003: [Mojo Video Capture] Adapt video_capture service to refactored video capture stack (Closed)
Patch Set: Fix compile errors Created 3 years, 8 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
« no previous file with comments | « media/capture/BUILD.gn ('k') | media/capture/video/shared_memory_buffer_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/fake_video_capture_device_unittest.cc
diff --git a/media/capture/video/fake_video_capture_device_unittest.cc b/media/capture/video/fake_video_capture_device_unittest.cc
index 927845c8abed4f3dd8a94a4b29c48a8d1fed95a8..2af74e7a3eb130bf0892f94f1a5cd764a148ea2f 100644
--- a/media/capture/video/fake_video_capture_device_unittest.cc
+++ b/media/capture/video/fake_video_capture_device_unittest.cc
@@ -40,8 +40,8 @@ class StubBufferHandle : public VideoCaptureBufferHandle {
: mapped_size_(mapped_size), data_(data) {}
size_t mapped_size() const override { return mapped_size_; }
- uint8_t* data() override { return data_; }
- const uint8_t* data() const override { return data_; }
+ uint8_t* data() const override { return data_; }
+ const uint8_t* const_data() const override { return data_; }
private:
const size_t mapped_size_;
« no previous file with comments | « media/capture/BUILD.gn ('k') | media/capture/video/shared_memory_buffer_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698