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

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

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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: media/capture/video/video_capture_device_unittest.cc
diff --git a/media/capture/video/video_capture_device_unittest.cc b/media/capture/video/video_capture_device_unittest.cc
index 150a280cb784be858ee154fd34ecd647128bc5d9..c2c714e468010929daea364a51f83d6160f84582 100644
--- a/media/capture/video/video_capture_device_unittest.cc
+++ b/media/capture/video/video_capture_device_unittest.cc
@@ -67,9 +67,9 @@ static const gfx::Size kCaptureSizes[] = {gfx::Size(640, 480),
class MockClient : public VideoCaptureDevice::Client {
public:
MOCK_METHOD9(OnIncomingCapturedYuvData,
- void(const uint8* y_data,
- const uint8* u_data,
- const uint8* v_data,
+ void(const uint8_t* y_data,
+ const uint8_t* u_data,
+ const uint8_t* v_data,
size_t y_stride,
size_t u_stride,
size_t v_stride,
@@ -88,7 +88,7 @@ class MockClient : public VideoCaptureDevice::Client {
: main_thread_(base::ThreadTaskRunnerHandle::Get()),
frame_cb_(frame_cb) {}
- void OnIncomingCapturedData(const uint8* data,
+ void OnIncomingCapturedData(const uint8_t* data,
int length,
const VideoCaptureFormat& format,
int rotation,

Powered by Google App Engine
This is Rietveld 408576698