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_; |