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

Unified Diff: media/video/gpu_memory_buffer_video_frame_pool_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/video/gpu_memory_buffer_video_frame_pool_unittest.cc
diff --git a/media/video/gpu_memory_buffer_video_frame_pool_unittest.cc b/media/video/gpu_memory_buffer_video_frame_pool_unittest.cc
index 3a8318ca8887ebc0a2dafa55b3e2dc0d4fe0de94..c1fc5ba9c08cc2b5fbfab9e87511ae569986786a 100644
--- a/media/video/gpu_memory_buffer_video_frame_pool_unittest.cc
+++ b/media/video/gpu_memory_buffer_video_frame_pool_unittest.cc
@@ -63,9 +63,9 @@ class GpuMemoryBufferVideoFramePoolTest : public ::testing::Test {
static scoped_refptr<media::VideoFrame> CreateTestYUVVideoFrame(
int dimension) {
const int kDimension = 10;
- static uint8 y_data[kDimension * kDimension] = {0};
- static uint8 u_data[kDimension * kDimension / 2] = {0};
- static uint8 v_data[kDimension * kDimension / 2] = {0};
+ static uint8_t y_data[kDimension * kDimension] = {0};
+ static uint8_t u_data[kDimension * kDimension / 2] = {0};
+ static uint8_t v_data[kDimension * kDimension / 2] = {0};
DCHECK_LE(dimension, kDimension);
gfx::Size size(dimension, dimension);

Powered by Google App Engine
This is Rietveld 408576698